summaryrefslogtreecommitdiffstats
path: root/debian/haproxy.postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:18:06 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:18:06 +0000
commit9e9d75224939029e63760bddc02d084846f49fe0 (patch)
treefbaf2cd0d33f54add493e6dfb943a46de15aad42 /debian/haproxy.postrm
parentAdding upstream version 2.9.5. (diff)
downloadhaproxy-debian/2.9.5-1.tar.xz
haproxy-debian/2.9.5-1.zip
Adding debian version 2.9.5-1.debian/2.9.5-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/haproxy.postrm')
-rw-r--r--debian/haproxy.postrm16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/haproxy.postrm b/debian/haproxy.postrm
new file mode 100644
index 0000000..5e41016
--- /dev/null
+++ b/debian/haproxy.postrm
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+case "$1" in
+ purge)
+ deluser --system haproxy || true
+ delgroup --system haproxy || true
+ ;;
+ *)
+ ;;
+esac
+
+exit 0