aboutsummaryrefslogtreecommitdiffstats
path: root/main/openldap
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@zoho.com>2016-04-23 13:13:36 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-25 06:51:49 +0000
commit2a573734b692ce27e4809e47e514ca0dfffaa970 (patch)
tree30f53a12d9be57166a8205fcfa0f7651641fe07a /main/openldap
parent694ace841f5e455f9a44087a3657594937ae23ad (diff)
downloadaports-2a573734b692ce27e4809e47e514ca0dfffaa970.tar.bz2
aports-2a573734b692ce27e4809e47e514ca0dfffaa970.tar.xz
Reorder options passed to adduser in scripts: make -S first.
It's only for consistency and to ease spotting lack of it.
Diffstat (limited to 'main/openldap')
-rw-r--r--main/openldap/openldap.pre-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/openldap/openldap.pre-install b/main/openldap/openldap.pre-install
index f5d586f789..a01f4fa303 100644
--- a/main/openldap/openldap.pre-install
+++ b/main/openldap/openldap.pre-install
@@ -1,7 +1,7 @@
#!/bin/sh
addgroup -S ldap 2>/dev/null
-adduser -h /usr/lib/openldap -s /sbin/nologin -S -D -H -g "OpenLdap User" \
+adduser -S -h /usr/lib/openldap -s /sbin/nologin -D -H -g "OpenLdap User" \
-G ldap ldap 2>/dev/null
exit 0