diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 1bbebde9..9d04bd85 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -1237,7 +1237,9 @@ installConfigs() { version_check_dnsmasq # Install an empty regex file - touch "${regexFile}" + if [[ ! -f "${regexFile}" ]]; then + touch "${regexFile}" + fi chown pihole:pihole "${regexFile}" chmod 664 "${regexFile}"