summaryrefslogtreecommitdiffstats
path: root/debian/postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:09:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:09:05 +0000
commitca60a76df5ae992d4e32a15d1ce34e02ca357198 (patch)
treebce7bbfbcb57785f417eb17f7bda0a8004495143 /debian/postinst
parentAdding upstream version 3.38.4. (diff)
downloadgnome-initial-setup-ca60a76df5ae992d4e32a15d1ce34e02ca357198.tar.xz
gnome-initial-setup-ca60a76df5ae992d4e32a15d1ce34e02ca357198.zip
Adding debian version 3.38.4-1.debian/3.38.4-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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