From b90d8c4f7313969e49e5d17036dd2fb312a56e20 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 23 Jul 2015 15:08:06 -0400 Subject: [PATCH] db_get fails if there is no debconf entry (for example if the package is not yet configured) --- .../ubuntu1504_cmake_split_packages/zoneminder-ui-base.postrm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distros/ubuntu1504_cmake_split_packages/zoneminder-ui-base.postrm b/distros/ubuntu1504_cmake_split_packages/zoneminder-ui-base.postrm index 441bb5218..fd4d0d6d8 100644 --- a/distros/ubuntu1504_cmake_split_packages/zoneminder-ui-base.postrm +++ b/distros/ubuntu1504_cmake_split_packages/zoneminder-ui-base.postrm @@ -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