summaryrefslogtreecommitdiff
path: root/debian/ntp.postrm
diff options
context:
space:
mode:
authorpetere <petere@0070b5ef-2f16-0410-befa-9a02bd1d6ddb>2006-07-14 14:58:40 +0000
committerpetere <petere@0070b5ef-2f16-0410-befa-9a02bd1d6ddb>2006-07-14 14:58:40 +0000
commitc59e85077c7efa7fe725ffc1384a90293a0ee763 (patch)
tree55b891f2358b27aa09312aa9652100d3cfba8784 /debian/ntp.postrm
parent7c506d2b3d56d4ea8bcc799b4fc961a6c1ef30a2 (diff)
downloadntp-c59e85077c7efa7fe725ffc1384a90293a0ee763.tar.gz
Merged ntp, ntp-server, ntp-simple, ntp-refclock into single package ntp
(closes: #222369, #343131, #377578) git-svn-id: svn://svn.debian.org/pkg-ntp/ntp/trunk@35 0070b5ef-2f16-0410-befa-9a02bd1d6ddb
Diffstat (limited to 'debian/ntp.postrm')
-rw-r--r--debian/ntp.postrm11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/ntp.postrm b/debian/ntp.postrm
new file mode 100644
index 0000000..d692ba7
--- /dev/null
+++ b/debian/ntp.postrm
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+#DEBHELPER#
+
+if [ "$1" = "purge" ]; then
+ deluser --system --quiet ntp || true
+ rm -rf /var/lib/ntp/
+ rm -rf /var/log/ntpstats/
+fi
+
+exit 0