aboutsummaryrefslogtreecommitdiffstats
path: root/main/openldap
diff options
context:
space:
mode:
Diffstat (limited to 'main/openldap')
-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