From 3abcfd0972867049ed6b48c8f316f0960b9845eb Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sat, 16 Dec 2006 16:35:30 +0000 Subject: 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 --- debian/libnss-ldapd.postrm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'debian/libnss-ldapd.postrm') 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# -- cgit v1.2.3