more polishing

This commit is contained in:
Heavybullets8 2022-07-26 14:37:46 -06:00
parent 07058f5a0b
commit 064e90a44c

View File

@ -3,16 +3,16 @@
menu(){ menu(){
clear -x clear -x
title title
echo "1 Help" echo "1) Help"
echo "2 List DNS Names" echo "2) List DNS Names"
echo "3 Mount and Unmount PVC storage" echo "3) Mount and Unmount PVC storage"
echo "4 Create a Backup" echo "4) Create a Backup"
echo "5 Restore a Backup" echo "5) Restore a Backup"
echo "6 Delete a Backup" echo "6) Delete a Backup"
echo "7 Update HeavyScript" echo "7) Update HeavyScript"
echo "8 Update Applications" echo "8) Update Applications"
echo echo
echo "0 Exit" echo "0) Exit"
read -rt 600 -p "Please select an option by number: " selection read -rt 600 -p "Please select an option by number: " selection
case $selection in case $selection in
@ -58,6 +58,7 @@ menu(){
echo "2) -u | Update all applications, does not update Major releases" echo "2) -u | Update all applications, does not update Major releases"
echo echo
echo "0) Exit" echo "0) Exit"
echo
read -rt 600 -p "Please type the number associated with the flag above: " current_selection read -rt 600 -p "Please type the number associated with the flag above: " current_selection
if [[ $current_selection == 1 ]]; then if [[ $current_selection == 1 ]]; then
echo -e "\nHow many applications do you want updating at the same time?" echo -e "\nHow many applications do you want updating at the same time?"