exit for updates menu

This commit is contained in:
Heavybullets8 2022-07-29 01:26:47 -06:00
parent 4f303e3489
commit c7c3be0d95

View File

@ -127,12 +127,18 @@ case $selection in
echo "99) Remove Update Options, Restart" echo "99) Remove Update Options, Restart"
echo "00) Done making selections, proceed with update" echo "00) Done making selections, proceed with update"
echo echo
echo "0) Exit"
echo
echo "Current Choices" echo "Current Choices"
echo "---------------" echo "---------------"
echo "bash heavy_script.sh ${update_selection[*]}" echo "bash heavy_script.sh ${update_selection[*]}"
echo echo
read -rt 600 -p "Type the Number OR Flag: " current_selection read -rt 600 -p "Type the Number OR Flag: " current_selection
case $current_selection in case $current_selection in
0)
echo "Exiting.."
exit
;;
00) 00)
clear -x clear -x
echo "Running \"bash heavy_script.sh ${update_selection[*]}\"" echo "Running \"bash heavy_script.sh ${update_selection[*]}\""