summaryrefslogtreecommitdiff
path: root/debian/ntpdate.postrm
blob: 025fd6ee710d8de15dbc3701792d5414c8314331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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#

if [ "$1" = "purge" ]; then
	rm -rf /var/lib/ntpdate/
fi