summaryrefslogtreecommitdiffstats
path: root/debian/git-daemon-sysvinit.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 13:34:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-09 13:34:29 +0000
commitcb99946239e45aef68c2a7168262def132399550 (patch)
tree0949c7cb00d7da2987826edafff9d8fba93e95f0 /debian/git-daemon-sysvinit.postinst
parentAdding upstream version 1:2.43.0. (diff)
downloadgit-cb99946239e45aef68c2a7168262def132399550.tar.xz
git-cb99946239e45aef68c2a7168262def132399550.zip
Adding debian version 1:2.43.0-1.debian/1%2.43.0-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/git-daemon-sysvinit.postinst')
-rw-r--r--debian/git-daemon-sysvinit.postinst8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/git-daemon-sysvinit.postinst b/debian/git-daemon-sysvinit.postinst
new file mode 100644
index 0000000..65270fb
--- /dev/null
+++ b/debian/git-daemon-sysvinit.postinst
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+test "$1" != 'configure' || \
+getent passwd gitdaemon >/dev/null || \
+ adduser --system --home /nonexistent --no-create-home gitdaemon
+
+#DEBHELPER#