fix for postinst syntax error
authorBdale Garbee <bdale@gag.com>
Fri, 20 Apr 2012 05:42:42 +0000 (23:42 -0600)
committerBdale Garbee <bdale@gag.com>
Fri, 20 Apr 2012 05:42:42 +0000 (23:42 -0600)
debian/changelog
debian/sudo-ldap.postinst

index f30818cfa27d7522f7b9b2bdbe146f55dc129c63..03125954ab691ad74e1bef56db9c9485f3af5d64 100644 (file)
@@ -1,3 +1,9 @@
+sudo (1.8.3p2-2) UNSTABLE; urgency=low
+
+  * fix sudo-ldap.postinst syntax issue, closes: #669576
+
+ -- Bdale Garbee <bdale@gag.com>  Thu, 19 Apr 2012 23:42:16 -0600
+
 sudo (1.8.3p2-2) unstable; urgency=low
 
   * patch to actually use hardening build flags, closes: #655417
index 464afc95376b547fa313e114f08ecbafa2c4c333..0aa57a94eec7ab18b73389784650d4856ccda3ae 100644 (file)
@@ -37,7 +37,7 @@ update-rc.d sudo start 75 2 3 4 5 . >/dev/null
 
 # create symlink to ease transition to new path for ldap config
 # if old config file exists and new one doesn't
-if [ -e /etc/ldap/ldap.conf && ! -e /etc/sudo-ldap.conf ];then
+if [ -e /etc/ldap/ldap.conf -a ! -e /etc/sudo-ldap.conf ];then
        ln -s ldap/ldap.conf /etc/sudo-ldap.conf
 fi