fixed syntax
This commit is contained in:
parent
ff02e0649a
commit
32a38b3eb2
|
@ -26,7 +26,7 @@ if [ -f /usr/share/debconf/confmodule ]; then
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
db_get "ldap-account-manager/restart-webserver"
|
db_get "ldap-account-manager/restart-webserver"
|
||||||
if [ $? -eq 0 && "$RET" = "true" ]; then
|
if [ $? -eq 0 ] && [ "$RET" = "true" ]; then
|
||||||
set -e
|
set -e
|
||||||
for server in $restart; do
|
for server in $restart; do
|
||||||
server=${server%,}
|
server=${server%,}
|
||||||
|
@ -40,7 +40,8 @@ if [ -f /usr/share/debconf/confmodule ]; then
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
if [ "$1" = "purge" ]; then
|
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
|
db_purge
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue