fixed syntax

This commit is contained in:
Roland Gruber 2010-08-16 18:23:14 +00:00
parent ff02e0649a
commit 32a38b3eb2
1 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,7 @@ if [ -f /usr/share/debconf/confmodule ]; then
set +e
db_get "ldap-account-manager/restart-webserver"
if [ $? -eq 0 && "$RET" = "true" ]; then
if [ $? -eq 0 ] && [ "$RET" = "true" ]; then
set -e
for server in $restart; do
server=${server%,}
@ -40,7 +40,8 @@ if [ -f /usr/share/debconf/confmodule ]; then
set -e
if [ "$1" = "purge" ]; then
rm -r -f /usr/share/ldap-account-manager; rm -r -f /var/lib/ldap-account-manager; fi
rm -r -f /usr/share/ldap-account-manager
rm -r -f /var/lib/ldap-account-manager
db_purge
fi