aboutsummaryrefslogtreecommitdiffstats
path: root/dns/adsuck/pkg-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'dns/adsuck/pkg-deinstall')
-rw-r--r--dns/adsuck/pkg-deinstall15
1 files changed, 15 insertions, 0 deletions
diff --git a/dns/adsuck/pkg-deinstall b/dns/adsuck/pkg-deinstall
new file mode 100644
index 000000000000..b9e79cff364c
--- /dev/null
+++ b/dns/adsuck/pkg-deinstall
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if [ "$2" != "POST-DEINSTALL" ]; then
+ exit 0
+fi
+
+if pw groupshow _adsuck 2>/dev/null 1>&2; then
+ echo "To delete the '_adsuck' group permanently, use 'pw groupdel _adsuck'"
+fi
+
+if pw usershow _adsuck 2>/dev/null 1>&2; then
+ echo "To delete the '_adsuck' user permanently, use 'pw userdel _adsuck'"
+fi
+
+exit 0