fixed 416886
This commit is contained in:
parent
671c1ba6ff
commit
888267e7d0
|
@ -2,8 +2,9 @@
|
|||
|
||||
set -e
|
||||
|
||||
. /usr/share/debconf/confmodule
|
||||
db_version 2.0 || [ $? -lt 30 ]
|
||||
if [ -f /usr/share/debconf/confmodule ]; then
|
||||
. /usr/share/debconf/confmodule
|
||||
db_version 2.0 || [ $? -lt 30 ]
|
||||
|
||||
db_get "ldap-account-manager/config-webserver"
|
||||
webservers="$RET"
|
||||
|
@ -29,15 +30,17 @@ db_version 2.0 || [ $? -lt 30 ]
|
|||
fi
|
||||
done
|
||||
fi
|
||||
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
|
||||
|
||||
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
|
||||
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
|
||||
db_purge
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
db_stop
|
||||
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
db_stop
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue