summaryrefslogtreecommitdiff
path: root/debian/ntpdate.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/ntpdate.postinst')
-rw-r--r--debian/ntpdate.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/ntpdate.postinst b/debian/ntpdate.postinst
index ca7c985..3ecc178 100644
--- a/debian/ntpdate.postinst
+++ b/debian/ntpdate.postinst
@@ -7,5 +7,12 @@ if dpkg-maintscript-helper supports rm_conffile; then
/etc/dhcp3/dhclient-enter-hooks.d/ntpdate 1:4.2.6+dfsg-1 -- "$@"
fi
+if dpkg-maintscript-helper supports mv_conffile; then
+ dpkg-maintscript-helper mv_conffile \
+ /etc/dhcp3/dhclient-exit-hooks.d/ntpdate \
+ /etc/dhcp/dhclient-exit-hooks.d/ntpdate \
+ 1:4.2.6.p1+dfsg-1 -- "$@"
+fi
+
#DEBHELPER#