summaryrefslogtreecommitdiffstats
path: root/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..1b15638
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -eu
+
+# creating gnome-initial-setup user if it isn't already there
+if ! getent passwd gnome-initial-setup >/dev/null; then
+ adduser --system --force-badname --quiet \
+ --home /run/gnome-initial-setup/ --no-create-home \
+ --shell /bin/false \
+ gnome-initial-setup
+fi
+
+#DEBHELPER#
+
+exit 0