db_get fails if there is no debconf entry (for example if the package is not yet configured)
This commit is contained in:
parent
27ef821a4f
commit
b90d8c4f73
|
@ -23,7 +23,7 @@ apache_remove() {
|
|||
|
||||
if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
|
||||
# Deconfigure the web server
|
||||
db_get zoneminder/webserver
|
||||
db_get zoneminder/webserver || true
|
||||
for webserver in $RET; do
|
||||
webserver=${webserver%,}
|
||||
# Currently we only support apache2
|
||||
|
|
Loading…
Reference in New Issue