1
0
mirror of https://github.com/pi-hole/pi-hole synced 2025-01-02 20:20:56 +00:00

Fix v5 -> v6 update (#5832)

This commit is contained in:
Dominik 2024-12-23 08:54:26 +01:00 committed by GitHub
commit a9948304db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2401,8 +2401,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}"