rename updateDialogs to update_dialogs

This commit is contained in:
Dan Schaper 2016-10-10 01:04:59 -07:00
parent e60eb66283
commit 43e2aaebf0

View file

@ -843,7 +843,7 @@ The install log is in /etc/pihole.
View the web interface at http://pi.hole/admin or http://${IPv4addr%/*}/admin" ${r} ${c} View the web interface at http://pi.hole/admin or http://${IPv4addr%/*}/admin" ${r} ${c}
} }
updateDialogs(){ update_dialogs(){
UpdateCmd=$(whiptail --title "Existing Install Detected!" --menu "We have detected an existing install.\n\n Please chose from the following options:" ${r} ${c} 2 \ UpdateCmd=$(whiptail --title "Existing Install Detected!" --menu "We have detected an existing install.\n\n Please chose from the following options:" ${r} ${c} 2 \
"Update" "Update install will retain existing settings." \ "Update" "Update install will retain existing settings." \
@ -874,7 +874,7 @@ if [[ -f ${setupVars} ]];then
if [ "$1" == "pihole" ]; then if [ "$1" == "pihole" ]; then
useUpdateVars=true useUpdateVars=true
else else
updateDialogs update_dialogs
fi fi
fi fi