From c281b4790583527d22ee8841833fcec3990e3327 Mon Sep 17 00:00:00 2001 From: Promofaux Date: Sun, 2 Oct 2016 12:44:33 +0100 Subject: [PATCH] Mover {SUDO} mkdir -p /etc/pihole/ back to the beginning. --- automated install/basic-install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 08c2bd6a..4d8c602a 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -804,7 +804,6 @@ installPihole() { checkForDependencies # done stopServices setUser - ${SUDO} mkdir -p /etc/pihole/ if [ ! -d "/var/www/html" ]; then ${SUDO} mkdir -p /var/www/html fi @@ -939,7 +938,7 @@ installerDependencies if [[ ${useUpdateVars} == false ]]; then welcomeDialogs - + ${SUDO} mkdir -p /etc/pihole/ # Find IP used to route to outside world findIPRoute # Find interfaces and let the user choose one