aboutsummaryrefslogtreecommitdiffstats
path: root/debian/lacme.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/lacme.postrm')
-rwxr-xr-xdebian/lacme.postrm15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/lacme.postrm b/debian/lacme.postrm
new file mode 100755
index 0000000..c52a198
--- /dev/null
+++ b/debian/lacme.postrm
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "purge" ]; then
+ if getent passwd _lacme-www >/dev/null; then
+ deluser --quiet --system _lacme-www
+ fi
+ if getent passwd _lacme-client >/dev/null; then
+ deluser --quiet --system _lacme-client
+ fi
+fi
+
+#DEBHELPER#
+exit 0