From: Bdale Garbee Date: Fri, 20 Apr 2012 05:42:42 +0000 (-0600) Subject: fix for postinst syntax error X-Git-Tag: debian/1.8.5p2-1~18 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=a1b6a04fbe27761f918955f928c60c5ea43ab2e8;p=debian%2Fsudo fix for postinst syntax error --- diff --git a/debian/changelog b/debian/changelog index f30818c..0312595 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +sudo (1.8.3p2-2) UNSTABLE; urgency=low + + * fix sudo-ldap.postinst syntax issue, closes: #669576 + + -- Bdale Garbee 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 diff --git a/debian/sudo-ldap.postinst b/debian/sudo-ldap.postinst index 464afc9..0aa57a9 100644 --- a/debian/sudo-ldap.postinst +++ b/debian/sudo-ldap.postinst @@ -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