From 6ef3ad1239ddfcc418dfe4eb19bc64aa1326f49c Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Fri, 18 Dec 2015 12:51:08 +0100 Subject: [PATCH] MT#16985 Fix disabling RUN_DAEMON The value can be (and actually *is*) enclosed in double quotes. Change-Id: I165e82900d6891feace4a2d7d5b3a88ce70560b2 --- debian/ngcp-panel.preinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/ngcp-panel.preinst b/debian/ngcp-panel.preinst index ed5c80dd6d..65a69593b1 100644 --- a/debian/ngcp-panel.preinst +++ b/debian/ngcp-panel.preinst @@ -17,7 +17,7 @@ set -e case "$1" in install|upgrade) if [ -f /etc/default/ngcp-panel ]; then - sed -e 's/RUN_DAEMON=yes/RUN_DAEMON=no/' \ + sed -e 's/RUN_DAEMON="\?yes"\?/RUN_DAEMON=no/' \ -i /etc/default/ngcp-panel echo "ngcp-panel disabled. Run ngcpcfg apply to enable." fi