1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 23:08:07 +00:00

remove --defaultyes from update whiptail

This commit is contained in:
Promofaux 2016-08-19 22:40:27 +01:00
parent 8fc83655ab
commit cc157def63

View File

@ -874,7 +874,7 @@ View the web interface at http://pi.hole/admin or http://${IPv4addr%/*}/admin" $
updateDialogs(){
if (whiptail --title "Existing Install detected" --yesno "We have detected you are installing over the top of an existing install.\n\n\nWould you like update?" --defaultyes ${r} ${c}); then
if (whiptail --title "Existing Install detected" --yesno "We have detected you are installing over the top of an existing install.\n\n\nWould you like update?" ${r} ${c}); then
echo "::: Updating existing install selected"
useUpdateVars = true
fi