aboutsummaryrefslogtreecommitdiffstats
path: root/community/mycorrhiza/mycorrhiza.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/mycorrhiza/mycorrhiza.pre-install')
-rw-r--r--community/mycorrhiza/mycorrhiza.pre-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/mycorrhiza/mycorrhiza.pre-install b/community/mycorrhiza/mycorrhiza.pre-install
new file mode 100644
index 00000000000..1707d58274f
--- /dev/null
+++ b/community/mycorrhiza/mycorrhiza.pre-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+user=mycorrhiza
+group=mycorrhiza
+
+addgroup -S $group 2>/dev/null
+adduser -S -D -h /var/lib/$user -s /sbin/nologin -G $group -g $user $user 2>/dev/null
+
+exit 0