[all-knowing-dns] 04/04: delete the obsolete postinst, postrm, prerm files

Michael Stapelberg michael at stapelberg.de
Mon Sep 23 20:36:17 UTC 2013


This is an automated email from the git hooks/post-receive script.

stapelberg pushed a commit to branch master
in repository all-knowing-dns.

commit 63bfeec9ba50245292f584c57b80b15cd6393f22
Author: Michael Stapelberg <michael at stapelberg.de>
Date:   Mon Sep 23 22:32:36 2013 +0200

    delete the obsolete postinst,postrm,prerm files
    
    Those were not committed properly in the git repository, or not pushed
    :-/. They have not been used for the last upload.
---
 debian/all-knowing-dns.postinst |   26 --------------------------
 debian/all-knowing-dns.postrm   |   29 -----------------------------
 debian/all-knowing-dns.prerm    |   25 -------------------------
 3 files changed, 80 deletions(-)

diff --git a/debian/all-knowing-dns.postinst b/debian/all-knowing-dns.postinst
deleted file mode 100644
index dce2776..0000000
--- a/debian/all-knowing-dns.postinst
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
-	configure)
-		# systemd: enable the service file so that it will be started
-		# when booting. The server will be started later in this script
-		# via the sysvinit compatibility layer.
-		which systemctl >/dev/null 2>&1 && {
-			systemctl enable all-knowing-dns.service >/dev/null 2>&1 || true
-		} || true
-		;;
-	
-	abort-upgrade|abort-remove|abort-deconfigure)
-		;;
-
-	*)
-		echo "postinst called with unknown argument \`$1'" >&2
-		exit 1
-		;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/all-knowing-dns.postrm b/debian/all-knowing-dns.postrm
deleted file mode 100644
index 917d361..0000000
--- a/debian/all-knowing-dns.postrm
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# systemd: reload the daemon
-which systemctl >/dev/null 2>&1 && {
-	systemctl daemon-reload >/dev/null 2>&1 || true
-} || true
-
-case "$1" in
-	upgrade)
-		# systemd: start the new version of all-knowing-dns
-		which systemctl >/dev/null 2>&1 && {
-			systemctl restart all-knowing-dns.service
-		} || true
-		;;
-	
-	purge|remove|failed-upgrade|abort-install|abort-upgrade|disappear)
-		;;
-
-	*)
-		echo "postrm called with unknown argument \`$1'" >&2
-		exit 1
-		;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/all-knowing-dns.prerm b/debian/all-knowing-dns.prerm
deleted file mode 100644
index 36e1a19..0000000
--- a/debian/all-knowing-dns.prerm
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
-	remove|upgrade|deconfigure)
-		# systemd: On uninstall (not upgrade), disable and stop the unit
-		which systemctl >/dev/null 2>&1 && {
-			systemctl --no-reload disable all-knowing-dns.service >/dev/null 2>&1 || true
-			systemctl stop all-knowing-dns.service >/dev/null 2>&1 || true
-		} || true
-		;;
-	
-	failed-upgrade)
-		;;
-
-	*)
-		echo "prerm called with unknown argument \`$1'" >&2
-		exit 1
-		;;
-esac
-
-#DEBHELPER#
-
-exit 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/all-knowing-dns.git



More information about the Pkg-perl-cvs-commits mailing list