diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 752e9816..a123e8d9 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -2146,8 +2146,8 @@ migrate_dnsmasq_configs() { # avoid conflicts with other services on this system # Exit early if this is already Pi-hole v6.0 - # We decide this on the presence of the file /etc/pihole/pihole.toml - if [[ -f /etc/pihole/pihole.toml ]]; then + # We decide this on the presence of the migration dir + if [[ -d "${V6_CONF_MIGRATION_DIR}" ]]; then return 0 fi