be more error tolerant
This commit is contained in:
parent
cf850c8057
commit
7919b3f150
|
@ -20,7 +20,9 @@ if [ -f /usr/share/debconf/confmodule ]; then
|
||||||
server=${server%,}
|
server=${server%,}
|
||||||
case "$server" in
|
case "$server" in
|
||||||
apache2)
|
apache2)
|
||||||
|
set +e
|
||||||
a2disconf -q ldap-account-manager
|
a2disconf -q ldap-account-manager
|
||||||
|
set -e
|
||||||
rm -f /etc/$server/conf-available/ldap-account-manager.conf
|
rm -f /etc/$server/conf-available/ldap-account-manager.conf
|
||||||
test -x /usr/sbin/$server || continue
|
test -x /usr/sbin/$server || continue
|
||||||
restart="$restart $server"
|
restart="$restart $server"
|
||||||
|
|
Loading…
Reference in New Issue