diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2006-12-16 17:35:30 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2006-12-16 17:35:30 +0100 |
commit | 3abcfd0972867049ed6b48c8f316f0960b9845eb (patch) | |
tree | 370027a91620b09975536228af872308321b6d31 /debian/libnss-ldapd.postrm | |
parent | 4bd692c652a3bf2a7554ca55f858da823401f8f6 (diff) |
redid Debian packaging: on installation a search is done for any reasonable configuration information (existing nss_ldap config, hostname info, etc), configuring nsswitch.conf is also done and all files in the debian directory have more logical names
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@158 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'debian/libnss-ldapd.postrm')
-rw-r--r-- | debian/libnss-ldapd.postrm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/debian/libnss-ldapd.postrm b/debian/libnss-ldapd.postrm index 204289b..8a1da8f 100644 --- a/debian/libnss-ldapd.postrm +++ b/debian/libnss-ldapd.postrm @@ -1,12 +1,11 @@ #!/bin/sh -CONFFILE="/etc/libnss-ldap.conf" -PASSWDFILE="/etc/libnss-ldap.secret" - action=$1 -if [ "$action" = "purge" ]; then - rm -f $CONFFILE $PASSWDFILE +# remove our configuration file (not a conffile) on purge manually +if [ "$action" = "purge" ] +then + rm -f /etc/libnss-ldapd.conf fi #DEBHELPER# |