summaryrefslogtreecommitdiffstats
path: root/debian/pulseaudio.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/pulseaudio.postrm')
-rw-r--r--debian/pulseaudio.postrm13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/pulseaudio.postrm b/debian/pulseaudio.postrm
new file mode 100644
index 0000000..0e1aa38
--- /dev/null
+++ b/debian/pulseaudio.postrm
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+if [ "$1" = "purge" ] ; then
+ deluser --quiet --system pulse > /dev/null || true
+ delgroup --quiet --system pulse-access > /dev/null || true
+ delgroup --quiet --system pulse-rt > /dev/null || true
+fi
+
+exit 0