diff options
Diffstat (limited to 'debian/libnss-ldapd.postrm')
-rw-r--r-- | debian/libnss-ldapd.postrm | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/debian/libnss-ldapd.postrm b/debian/libnss-ldapd.postrm index 58942df..b21df19 100644 --- a/debian/libnss-ldapd.postrm +++ b/debian/libnss-ldapd.postrm @@ -2,8 +2,6 @@ set -e -CONFFILE="/etc/nss-ldapd.conf" - # remove NSS lookups though LDAP for the specified service nss_disable() { @@ -27,9 +25,6 @@ nss_disable() return 0 } -# remove /var/run/nslcd directory -rm -rf /var/run/nslcd - # offer to remove ldap from nsswitch.conf if ( [ "$1" = "remove" ] || [ "$1" = "purge" ] ) then @@ -68,12 +63,6 @@ then fi fi -# remove our configuration file (not a conffile) on purge -if [ "$1" = "purge" ] -then - rm -f "$CONFFILE" -fi - # call ldconfig to signal the removal of our NSS library if [ "$1" = "remove" ] then |