nss-pam-ldapd commit: r1669 - debian/nss-pam-ldapd/trunk/debian
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1669 - debian/nss-pam-ldapd/trunk/debian
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1669 - debian/nss-pam-ldapd/trunk/debian
- Date: Fri, 27 Apr 2012 11:20:56 +0200 (CEST)
Author: arthur
Date: Fri Apr 27 11:20:56 2012
New Revision: 1669
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1669&view=revision
Log:
ensure that /var/run/nslcd is not removed during upgrades
Modified:
debian/nss-pam-ldapd/trunk/debian/changelog
debian/nss-pam-ldapd/trunk/debian/nslcd.postrm
Modified: debian/nss-pam-ldapd/trunk/debian/changelog
==============================================================================
--- debian/nss-pam-ldapd/trunk/debian/changelog Fri Apr 27 11:11:00 2012
(r1668)
+++ debian/nss-pam-ldapd/trunk/debian/changelog Fri Apr 27 11:20:56 2012
(r1669)
@@ -9,8 +9,9 @@
authorisation checks that pam_unix also does
* drop functionality to check whether shadow information is exposed
in /etc/nsswitch.conf, it was no longer needed sine 0.8.4
+ * ensure that /var/run/nslcd is not removed during upgrades
- -- Arthur de Jong <adejong@debian.org> Fri, 27 Apr 2012 11:05:00 +0200
+ -- Arthur de Jong <adejong@debian.org> Fri, 27 Apr 2012 11:15:00 +0200
nss-pam-ldapd (0.8.7-1) unstable; urgency=low
Modified: debian/nss-pam-ldapd/trunk/debian/nslcd.postrm
==============================================================================
--- debian/nss-pam-ldapd/trunk/debian/nslcd.postrm Fri Apr 27 11:11:00
2012 (r1668)
+++ debian/nss-pam-ldapd/trunk/debian/nslcd.postrm Fri Apr 27 11:20:56
2012 (r1669)
@@ -5,10 +5,13 @@
CONFFILE="/etc/nslcd.conf"
OCONFFILE="/etc/nss-ldapd.conf"
-# remove /var/run/nslcd directory
-rm -rf /var/run/nslcd
+# remove /var/run/nslcd directory on remove
+if [ "$1" = "remove" ]
+then
+ rm -rf /var/run/nslcd
+fi
-# remove our configuration file (not a conffile) on purge manually
+# remove our configuration file (not a conffile) on purge
if [ "$1" = "purge" ]
then
rm -f "$CONFFILE" "$OCONFFILE"
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/
- nss-pam-ldapd commit: r1669 - debian/nss-pam-ldapd/trunk/debian,
Commits of the nss-pam-ldapd project