From 991d38faccf4e1fb27f31f236ad58ee840103734 Mon Sep 17 00:00:00 2001 From: Parabola Date: Wed, 3 Aug 2011 04:50:40 +0000 Subject: Wed Aug 3 04:50:40 UTC 2011 --- testing/openldap/openldap.install | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 testing/openldap/openldap.install (limited to 'testing/openldap/openldap.install') diff --git a/testing/openldap/openldap.install b/testing/openldap/openldap.install deleted file mode 100644 index cf3cb9f25..000000000 --- a/testing/openldap/openldap.install +++ /dev/null @@ -1,20 +0,0 @@ -post_install(){ - 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 -} -- cgit v1.2.3-54-g00ecf