diff options
author | kroeckx <kroeckx@0070b5ef-2f16-0410-befa-9a02bd1d6ddb> | 2010-05-24 16:21:02 +0000 |
---|---|---|
committer | kroeckx <kroeckx@0070b5ef-2f16-0410-befa-9a02bd1d6ddb> | 2010-05-24 16:21:02 +0000 |
commit | b140433ee2c59974021390ad16cdcc7c258d2620 (patch) | |
tree | 38ffcfa3cb0aae582acb521abbd3e2c2bccf8367 | |
parent | 2e190593ff0fb1d1c74ec2b053bc5a3ca37a16f7 (diff) | |
download | ntp-b140433ee2c59974021390ad16cdcc7c258d2620.tar.gz |
Change maintainer scripts to remove all obsolete config files.
git-svn-id: svn://svn.debian.org/pkg-ntp/ntp/trunk@306 0070b5ef-2f16-0410-befa-9a02bd1d6ddb
-rw-r--r-- | debian/changelog | 4 | ||||
-rw-r--r-- | debian/ntp.postinst | 4 | ||||
-rw-r--r-- | debian/ntp.postrm | 4 | ||||
-rw-r--r-- | debian/ntp.preinst | 4 |
4 files changed, 16 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 2904e66..e460863 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,10 @@ ntp (1:4.2.6.p1+dfsg-1) unstable; urgency=low Use dpkg 1.15.7.2's dpkg-maintscript-helper. This needs a Pre-Depends to work, else it's never going to be removed. (Closes: #569530) + * Remove the obsolete config file /etc/dhcp3/dhclient-enter-hooks.d/ntp, + it was replaced by /etc/dhcp3/dhclient-exit-hooks.d/ntp in 1:4.2.4p4+dfsg-3 + * Remove the obsolete config file /etc/network/if-up.d/ntp, + it was removed in 1:4.2.4p0+dfsg-1 -- Kurt Roeckx <kurt@roeckx.be> Mon, 24 May 2010 11:09:51 +0200 diff --git a/debian/ntp.postinst b/debian/ntp.postinst index db69f20..1ea3768 100644 --- a/debian/ntp.postinst +++ b/debian/ntp.postinst @@ -5,6 +5,10 @@ set -e if dpkg-maintscript-helper supports rm_conffile; then dpkg-maintscript-helper rm_conffile \ /etc/logcheck/ignore.d.server/ntp 1:4.2.6+dfsg-1 -- "$@" + dpkg-maintscript-helper rm_conffile \ + /etc/dhcp3/dhclient-enter-hooks.d/ntp 1:4.2.6+dfsg-1 -- "$@" + dpkg-maintscript-helper rm_conffile \ + /etc/network/if-up.d/ntp 1:4.2.6+dfsg-1 -- "$@" fi if [ "$1" = "configure" ]; then diff --git a/debian/ntp.postrm b/debian/ntp.postrm index cdfb039..9e11aff 100644 --- a/debian/ntp.postrm +++ b/debian/ntp.postrm @@ -5,6 +5,10 @@ set -e if dpkg-maintscript-helper supports rm_conffile; then dpkg-maintscript-helper rm_conffile \ /etc/logcheck/ignore.d.server/ntp 1:4.2.6+dfsg-1 -- "$@" + dpkg-maintscript-helper rm_conffile \ + /etc/dhcp3/dhclient-enter-hooks.d/ntp 1:4.2.6+dfsg-1 -- "$@" + dpkg-maintscript-helper rm_conffile \ + /etc/network/if-up.d/ntp 1:4.2.6+dfsg-1 -- "$@" fi installinit_error() { diff --git a/debian/ntp.preinst b/debian/ntp.preinst index dba6a6e..d728216 100644 --- a/debian/ntp.preinst +++ b/debian/ntp.preinst @@ -5,5 +5,9 @@ set -e if dpkg-maintscript-helper supports rm_conffile; then dpkg-maintscript-helper rm_conffile \ /etc/logcheck/ignore.d.server/ntp 1:4.2.6+dfsg-1 -- "$@" + dpkg-maintscript-helper rm_conffile \ + /etc/dhcp3/dhclient-enter-hooks.d/ntp 1:4.2.6+dfsg-1 -- "$@" + dpkg-maintscript-helper rm_conffile \ + /etc/network/if-up.d/ntp 1:4.2.6+dfsg-1 -- "$@" fi |