Fix v5 -> v6 update
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
parent
d80259ee8f
commit
92a3c73f80
|
@ -2401,8 +2401,8 @@ main() {
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# in case of an update
|
# in case of an update (can be a v5 -> v6 or v6 -> v6 update)
|
||||||
if [[ -f "${PI_HOLE_V6_CONFIG}" ]]; then
|
if [[ -f "${PI_HOLE_V6_CONFIG}" ]] || [[ -f "/etc/pihole/setupVars.conf" ]]; then
|
||||||
# if it's running unattended,
|
# if it's running unattended,
|
||||||
if [[ "${runUnattended}" == true ]]; then
|
if [[ "${runUnattended}" == true ]]; then
|
||||||
printf " %b Performing unattended setup, no dialogs will be displayed\\n" "${INFO}"
|
printf " %b Performing unattended setup, no dialogs will be displayed\\n" "${INFO}"
|
||||||
|
|
Loading…
Reference in New Issue