From feb2150d9b47e55655d3624f81ffe5c2f6cfcdd4 Mon Sep 17 00:00:00 2001 From: WaLLy3K Date: Fri, 22 Sep 2017 19:14:11 +1000 Subject: [PATCH] Fix `LIGHTTPD_ENABLED` dupes in `setupVars.conf` * Fix issue merged [here](https://github.com/pi-hole/pi-hole/commit/fdf2649f2fef8981176735fb856997e4856fc13b#diff-689793e68cde6270d074695b71c969afL1488) --- 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 f19481cf..6a602257 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -1450,7 +1450,7 @@ finalExports() { # If the setup variable file exists, if [[ -e "${setupVars}" ]]; then # update the variables in the file - 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}" + 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;/LIGHTTPD_ENABLED/d;' "${setupVars}" fi # echo the information to the user {