diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index b2bdfa04..02179ed5 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -1292,9 +1292,7 @@ chooseBlocklists() { # In a variable, show the choices available; exit if Cancel is selected choices=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) || { printf " %bCancel was selected, exiting installer%b\\n" "${COL_LIGHT_RED}" "${COL_NC}"; rm "${adlistFile}" ;exit 1; } - # create empty adlist file if no list was selected - : > "${adlistFile}" - # For each choice available + # For each choice available, for choice in ${choices} do appendToListsFile "${choice}"