be more error tolerant

This commit is contained in:
Roland Gruber 2017-04-17 12:02:23 +02:00
parent cf850c8057
commit 7919b3f150
1 changed files with 2 additions and 0 deletions

View File

@ -20,7 +20,9 @@ if [ -f /usr/share/debconf/confmodule ]; then
server=${server%,}
case "$server" in
apache2)
set +e
a2disconf -q ldap-account-manager
set -e
rm -f /etc/$server/conf-available/ldap-account-manager.conf
test -x /usr/sbin/$server || continue
restart="$restart $server"