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:
Shadi Akiki 2016-10-15 12:22:33 +03:00
parent 24ccdbeaf9
commit 27ff1119d3

View file

@ -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