From 3cf9942465d51a94035bedef72349e9889e22da2 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Fri, 31 Mar 2017 23:00:56 +0100 Subject: [PATCH] spacing fixed --- advanced/Scripts/webpage.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/advanced/Scripts/webpage.sh b/advanced/Scripts/webpage.sh index f604a00f..5b121b44 100755 --- a/advanced/Scripts/webpage.sh +++ b/advanced/Scripts/webpage.sh @@ -329,9 +329,9 @@ CustomizeAdLists() { sed -i "\\@${args[3]}@s/^http/#http/g" "${list}" elif [[ "${args[2]}" == "add" ]] ; then echo "${args[3]}" >> ${list} - elif [[ "${args[2]}" == "del" ]] ; then - var=$(echo "${args[3]}" | sed 's/\//\\\//g') - sed -i "/${var}/Id" "${list}" + elif [[ "${args[2]}" == "del" ]] ; then + var=$(echo "${args[3]}" | sed 's/\//\\\//g') + sed -i "/${var}/Id" "${list}" else echo "Not permitted" return 1