scripts: rename update_dialog
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user