scripts: rename update_dialog

This commit is contained in:
Yifei Ding
2021-11-13 01:01:11 -08:00
parent 44966cba2d
commit a60223306c

View File

@@ -7,7 +7,7 @@
# Arguments: # Arguments:
# None # None
####################################### #######################################
kiauh_update_dialog() { kiauh_update_yesno() {
whiptail --title "New KIAUH update available!" \ whiptail --title "New KIAUH update available!" \
--yesno \ --yesno \
"View Changelog: https://git.io/JnmlX "View Changelog: https://git.io/JnmlX
@@ -22,6 +22,6 @@ Do you want to update now?" \
if [ $out -eq 0 ]; then if [ $out -eq 0 ]; then
do_action "update_kiauh" do_action "update_kiauh"
else else
deny_action "kiauh_update_dialog" return
fi fi
} }