diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-02-22 20:09:18 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-02-22 20:09:18 (GMT) |
commit | 2da7d2f141a9051c22f89e3d7c68e7215322b417 (patch) | |
tree | 28fb86175805f0aebb4f23f180735b2aa80ee75d /abs/core/openldap/openldap.install | |
parent | 9d40ce39316649400bf6d83b1b811d93b6c5c149 (diff) | |
download | linhes_pkgbuild-2da7d2f141a9051c22f89e3d7c68e7215322b417.zip linhes_pkgbuild-2da7d2f141a9051c22f89e3d7c68e7215322b417.tar.gz linhes_pkgbuild-2da7d2f141a9051c22f89e3d7c68e7215322b417.tar.bz2 |
openldap: update to 2.4.45
Diffstat (limited to 'abs/core/openldap/openldap.install')
-rw-r--r-- | abs/core/openldap/openldap.install | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/abs/core/openldap/openldap.install b/abs/core/openldap/openldap.install deleted file mode 100644 index a34ca1a..0000000 --- a/abs/core/openldap/openldap.install +++ /dev/null @@ -1,21 +0,0 @@ -post_install(){ - systemd-tmpfiles --create slapd.conf - groupadd -g 439 ldap &>/dev/null - useradd -u 439 -g ldap -d /var/lib/openldap -s /bin/false ldap &>/dev/null - chown -R ldap:ldap var/lib/openldap &>/dev/null -} - -post_upgrade(){ - getent group ldap >/dev/null 2>&1 || groupadd -g 439 ldap &>/dev/null - getent passwd ldap >/dev/null 2>&1 || useradd -u 439 -g ldap -d /var/lib/openldap -s /bin/false ldap &>/dev/null - chown -R ldap:ldap var/lib/openldap &>/dev/null -} - -post_remove(){ - if getent passwd ldap >/dev/null 2>&1; then - userdel ldap - fi - if getent group ldap >/dev/null 2>&1; then - groupdel ldap - fi -} |