summaryrefslogtreecommitdiff
path: root/main/distcc/distcc.pre-install
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-11-20 21:43:24 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-24 10:32:14 +0000
commit4775c2ff35f8cb21574037f6e2f15596b8bc1f59 (patch)
treeb7f060966dc82879953fa1b3da31f34cac2d0b84 /main/distcc/distcc.pre-install
parentf13760e393c823f72c7607567a926fe7b9859f94 (diff)
downloadaports-4775c2ff35f8cb21574037f6e2f15596b8bc1f59.zip
main/distcc: create distcc user in .pre-install script
Diffstat (limited to 'main/distcc/distcc.pre-install')
-rw-r--r--main/distcc/distcc.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/distcc/distcc.pre-install b/main/distcc/distcc.pre-install
new file mode 100644
index 00000000000..bd7fba2a408
--- /dev/null
+++ b/main/distcc/distcc.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addgroup -S distcc 2>/dev/null
+adduser -H -h /dev/null -s /sbin/nologin -G distcc -D distcc 2>/dev/null
+exit 0