mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-24 23:23:42 +00:00
add install whiptail before update_dialogs
The update_dialogs function depends on whiptail. whiptail is already in the INSTALLER_DEPS array, but it gets installed at a later point than here, so we need to install it for the sake of update_dialogs first.
This commit is contained in:
parent
24ccdbeaf9
commit
27ff1119d3
1 changed files with 1 additions and 0 deletions
|
@ -892,6 +892,7 @@ if [[ -f ${setupVars} ]];then
|
||||||
if [ "$1" == "pihole" ]; then
|
if [ "$1" == "pihole" ]; then
|
||||||
useUpdateVars=true
|
useUpdateVars=true
|
||||||
else
|
else
|
||||||
|
package_check_install "whiptail"
|
||||||
update_dialogs
|
update_dialogs
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue