aboutsummaryrefslogtreecommitdiffstats
path: root/main/openldap/openldap.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-11-09 09:26:21 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-09 09:26:21 +0000
commitd1392c9bc04edc49d74f3e44e1431ec4e6898d90 (patch)
treef7c8d641ee84abc0754a00047530cb5f2205e49a /main/openldap/openldap.pre-install
parent4c7cf61a62a83835cae53e70b5753ddddcd9d171 (diff)
downloadaports-d1392c9bc04edc49d74f3e44e1431ec4e6898d90.tar.bz2
aports-d1392c9bc04edc49d74f3e44e1431ec4e6898d90.tar.xz
main/openldap: force creation of ldap group
Diffstat (limited to 'main/openldap/openldap.pre-install')
-rw-r--r--main/openldap/openldap.pre-install4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/openldap/openldap.pre-install b/main/openldap/openldap.pre-install
index b208a9f5f2..7ca82b1c26 100644
--- a/main/openldap/openldap.pre-install
+++ b/main/openldap/openldap.pre-install
@@ -1,3 +1,5 @@
#!/bin/sh
-adduser -h /usr/lib/openldap -s /bin/false -S -D ldap 2>/dev/null || true
+adduser -h /usr/lib/openldap -s /bin/false -S -D ldap 2>/dev/null
+addgroup ldap
+exit 0