db_get fails if there is no debconf entry (for example if the
package is not yet configured)
This commit is contained in:
parent
a6a33fa77f
commit
27ef821a4f
|
@ -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