aboutsummaryrefslogtreecommitdiffstats
path: root/community/gogs/gogs.pre-install
diff options
context:
space:
mode:
author7heo <7heo@mail.com>2016-08-29 16:09:55 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-29 16:59:30 +0200
commit428fa757b07bb28c5a9d633d91354221579ffa31 (patch)
treec31a0e6162f0e732e7b31510b5451e31cada3869 /community/gogs/gogs.pre-install
parentd28f27dbd511685428d8b7af191ac1e9de7c861a (diff)
downloadaports-428fa757b07bb28c5a9d633d91354221579ffa31.tar.bz2
aports-428fa757b07bb28c5a9d633d91354221579ffa31.tar.xz
testing/gogs: move to community
Diffstat (limited to 'community/gogs/gogs.pre-install')
-rw-r--r--community/gogs/gogs.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/community/gogs/gogs.pre-install b/community/gogs/gogs.pre-install
new file mode 100644
index 0000000000..acf2093962
--- /dev/null
+++ b/community/gogs/gogs.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup -S www-data 2>/dev/null
+adduser -S -D -h /var/lib/gogs -s /bin/ash -G www-data -g gogs gogs 2>/dev/null
+passwd -u gogs 2>/dev/null
+
+exit 0