From 68888979999657d9a0eb57bb319b1a415b6819b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Fri, 13 Sep 2024 21:15:25 +0200 Subject: [PATCH] Revert "Return early during v6 migration if migration dir exists" This reverts commit 251f3295f3b64a81c86ef1e18ce92f91f8658f5e. --- automated install/basic-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index a123e8d9..752e9816 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 migration dir - if [[ -d "${V6_CONF_MIGRATION_DIR}" ]]; then + # We decide this on the presence of the file /etc/pihole/pihole.toml + if [[ -f /etc/pihole/pihole.toml ]]; then return 0 fi