summaryrefslogtreecommitdiffstats
path: root/debian/postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postrm')
-rw-r--r--debian/postrm13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..fc83984
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "purge" ] ; then
+ if getent passwd gnome-initial-setup >/dev/null; then
+ if which deluser >/dev/null 2>&1; then
+ deluser --system gnome-initial-setup || echo "Could not remove gnome-initial-setup user."
+ fi
+ fi
+fi
+#DEBHELPER#
+exit 0