1
0
mirror of https://github.com/pi-hole/pi-hole synced 2025-01-24 23:11:07 +00:00

Merge branch 'fix/install' into fix/migration_test

This commit is contained in:
DL6ER 2024-12-23 08:44:24 +01:00
commit 6cb8f55215
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

View File

@ -2407,8 +2407,8 @@ main() {
exit 1
fi
# in case of an update
if [[ -f "${PI_HOLE_V6_CONFIG}" ]]; then
# in case of an update (can be a v5 -> v6 or v6 -> v6 update)
if [[ -f "${PI_HOLE_V6_CONFIG}" ]] || [[ -f "/etc/pihole/setupVars.conf" ]]; then
# if it's running unattended,
if [[ "${runUnattended}" == true ]]; then
printf " %b Performing unattended setup, no dialogs will be displayed\\n" "${INFO}"