From ae24f1255f2435acb0438b3bc6ff28a7f99266e0 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sat, 25 Feb 2017 11:29:12 +0100 Subject: [PATCH] Bugfix: Delete INSTALL_WEB line before adding new one --- automated install/basic-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 51390a5e..f168675e 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -964,7 +964,7 @@ finalExports() { # Update variables in setupVars.conf file if [ -e "${setupVars}" ]; then - sed -i.update.bak '/PIHOLE_INTERFACE/d;/IPV4_ADDRESS/d;/IPV6_ADDRESS/d;/PIHOLE_DNS_1/d;/PIHOLE_DNS_2/d;/QUERY_LOGGING/d;' "${setupVars}" + sed -i.update.bak '/PIHOLE_INTERFACE/d;/IPV4_ADDRESS/d;/IPV6_ADDRESS/d;/PIHOLE_DNS_1/d;/PIHOLE_DNS_2/d;/QUERY_LOGGING/d;/INSTALL_WEB/d;' "${setupVars}" fi { echo "PIHOLE_INTERFACE=${PIHOLE_INTERFACE}"