mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-28 17:13:17 +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
348dd696a1
commit
bbcdfb075d
1 changed files with 1 additions and 0 deletions
|
@ -892,6 +892,7 @@ if [[ -f ${setupVars} ]];then
|
|||
if [ "$1" == "pihole" ]; then
|
||||
useUpdateVars=true
|
||||
else
|
||||
package_check_install "whiptail"
|
||||
update_dialogs
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue