aboutsummaryrefslogtreecommitdiffstats
path: root/main
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
parent4c7cf61a62a83835cae53e70b5753ddddcd9d171 (diff)
downloadaports-d1392c9bc04edc49d74f3e44e1431ec4e6898d90.tar.bz2
aports-d1392c9bc04edc49d74f3e44e1431ec4e6898d90.tar.xz
main/openldap: force creation of ldap group
Diffstat (limited to 'main')
-rw-r--r--main/openldap/APKBUILD2
-rw-r--r--main/openldap/openldap.pre-install4
2 files changed, 4 insertions, 2 deletions
diff --git a/main/openldap/APKBUILD b/main/openldap/APKBUILD
index 484d7f7457..d3a1182bda 100644
--- a/main/openldap/APKBUILD
+++ b/main/openldap/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=openldap
pkgver=2.4.19
-pkgrel=0
+pkgrel=1
pkgdesc="LDAP Server"
url="http://www.openldap.org/"
license="custom"
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