From a1b6a04fbe27761f918955f928c60c5ea43ab2e8 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Thu, 19 Apr 2012 23:42:42 -0600 Subject: [PATCH] fix for postinst syntax error --- debian/changelog | 6 ++++++ debian/sudo-ldap.postinst | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 -- 2.39.2