diff options
author | kroeckx <kroeckx@0070b5ef-2f16-0410-befa-9a02bd1d6ddb> | 2010-05-24 16:32:16 +0000 |
---|---|---|
committer | kroeckx <kroeckx@0070b5ef-2f16-0410-befa-9a02bd1d6ddb> | 2010-05-24 16:32:16 +0000 |
commit | c590f0aa7c6225d5c2a85e3b979fb356c5aeb1cd (patch) | |
tree | c3583304f5fbfb21481225e794799f691a99aaa4 | |
parent | 6377e6245845ce07f6c39b0462136f7d7dda6f43 (diff) | |
download | ntp-c590f0aa7c6225d5c2a85e3b979fb356c5aeb1cd.tar.gz |
Also remove obsolete ntpdate config files.
git-svn-id: svn://svn.debian.org/pkg-ntp/ntp/trunk@308 0070b5ef-2f16-0410-befa-9a02bd1d6ddb
-rw-r--r-- | debian/changelog | 3 | ||||
-rw-r--r-- | debian/ntpdate.postinst | 11 | ||||
-rw-r--r-- | debian/ntpdate.postrm | 5 | ||||
-rw-r--r-- | debian/ntpdate.preinst | 11 |
4 files changed, 29 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index e460863..4823fa6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,7 +9,8 @@ ntp (1:4.2.6.p1+dfsg-1) unstable; urgency=low 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 + and /etc/dhcp3/dhclient-enter-hooks.d/ntpdate. They were replaced by + exit hooks 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 diff --git a/debian/ntpdate.postinst b/debian/ntpdate.postinst new file mode 100644 index 0000000..ca7c985 --- /dev/null +++ b/debian/ntpdate.postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if dpkg-maintscript-helper supports rm_conffile; then + dpkg-maintscript-helper rm_conffile \ + /etc/dhcp3/dhclient-enter-hooks.d/ntpdate 1:4.2.6+dfsg-1 -- "$@" +fi + +#DEBHELPER# + diff --git a/debian/ntpdate.postrm b/debian/ntpdate.postrm index 2670320..025fd6e 100644 --- a/debian/ntpdate.postrm +++ b/debian/ntpdate.postrm @@ -2,6 +2,11 @@ set -e +if dpkg-maintscript-helper supports rm_conffile; then + dpkg-maintscript-helper rm_conffile \ + /etc/dhcp3/dhclient-enter-hooks.d/ntpdate 1:4.2.6+dfsg-1 -- "$@" +fi + #DEBHELPER# if [ "$1" = "purge" ]; then diff --git a/debian/ntpdate.preinst b/debian/ntpdate.preinst new file mode 100644 index 0000000..ca7c985 --- /dev/null +++ b/debian/ntpdate.preinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if dpkg-maintscript-helper supports rm_conffile; then + dpkg-maintscript-helper rm_conffile \ + /etc/dhcp3/dhclient-enter-hooks.d/ntpdate 1:4.2.6+dfsg-1 -- "$@" +fi + +#DEBHELPER# + |