summaryrefslogtreecommitdiffstats
path: root/debian/postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:47:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:47:04 +0000
commit70dcd40a48b34179ec7a6cdf5d2ade5e7f2038f5 (patch)
tree3eec7b12c2fb81157d19bb8dc4b3fe278bbb0f28 /debian/postinst
parentAdding upstream version 43.2. (diff)
downloadgnome-initial-setup-debian.tar.xz
gnome-initial-setup-debian.zip
Adding debian version 43.2-6.debian/43.2-6debian
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