lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r2049 - debian/nss-pam-ldapd/branches/experimental/debian

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r2049 - debian/nss-pam-ldapd/branches/experimental/debian



Author: arthur
Date: Sun Oct 27 15:34:20 2013
New Revision: 2049
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=2049&view=revision

Log:
avoid prompting to restart services on initial install

Modified:
   debian/nss-pam-ldapd/branches/experimental/debian/changelog
   debian/nss-pam-ldapd/branches/experimental/debian/nslcd.postinst
   debian/nss-pam-ldapd/branches/experimental/debian/nslcd.preinst

Modified: debian/nss-pam-ldapd/branches/experimental/debian/changelog
==============================================================================
--- debian/nss-pam-ldapd/branches/experimental/debian/changelog Sun Oct 27 
15:33:21 2013        (r2048)
+++ debian/nss-pam-ldapd/branches/experimental/debian/changelog Sun Oct 27 
15:34:20 2013        (r2049)
@@ -1,3 +1,9 @@
+nss-pam-ldapd (0.9.1-3) UNRELEASED; urgency=low
+
+  * avoid prompting to restart services on initial install
+
+ -- Arthur de Jong <adejong@debian.org>  Sun, 27 Oct 2013 15:30:00 +0100
+
 nss-pam-ldapd (0.9.1-2) experimental; urgency=low
 
   * mark pynslcd as multi-arch foreign to allow it to satisfy dependencies

Modified: debian/nss-pam-ldapd/branches/experimental/debian/nslcd.postinst
==============================================================================
--- debian/nss-pam-ldapd/branches/experimental/debian/nslcd.postinst    Sun Oct 
27 15:33:21 2013        (r2048)
+++ debian/nss-pam-ldapd/branches/experimental/debian/nslcd.postinst    Sun Oct 
27 15:34:20 2013        (r2049)
@@ -275,7 +275,7 @@
   # applications that otherwise may no longer be able to lookup or
   # authenticate users (when nslcd is being configured, both modules should
   # already be unpacked and will be loaded by restarted services)
-  if dpkg --compare-versions "$2" lt "0.9"
+  if dpkg --compare-versions "$2" lt-nl "0.9"
   then
     # code heavily based on eglibc and pam postinst
 

Modified: debian/nss-pam-ldapd/branches/experimental/debian/nslcd.preinst
==============================================================================
--- debian/nss-pam-ldapd/branches/experimental/debian/nslcd.preinst     Sun Oct 
27 15:33:21 2013        (r2048)
+++ debian/nss-pam-ldapd/branches/experimental/debian/nslcd.preinst     Sun Oct 
27 15:34:20 2013        (r2049)
@@ -6,7 +6,7 @@
 # screensavers that could lock users out when nslcd is replaced
 # (the NSS and PAM modules loaded will not be able to communicate with the
 # new nslcd)
-if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt "0.9"
+if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt-nl "0.9"
 then
   # perhaps only do check if ldap is enabled in NSS and/or PAM stack
   if pidof xscreensaver xlockmore > /dev/null
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/