From ee366875809ef538f55a5447a65aa912aceab760 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 26 Jul 2022 14:16:51 -0600 Subject: [PATCH] fix --- functions/menu.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/functions/menu.sh b/functions/menu.sh index 136da234..0f17f205 100644 --- a/functions/menu.sh +++ b/functions/menu.sh @@ -80,24 +80,24 @@ menu(){ if [[ $current_selection == 0 ]]; then exec bash "$script_name" "${update_selection[@]}" exit - elif [[ $current_selection == 3 ]]; then + elif [[ $current_selection == 1 ]]; then read -rt 600 -p "Up to how many backups should we keep?\n Please type an integer: " up_backups update_selection+=("-b" "$up_backups") - elif [[ $current_selection == 4 ]]; then + elif [[ $current_selection == 2 ]]; then read -rt 600 -p "What is the name of the application we should ignore?: " up_ignore update_selection+=("-i" "$up_ignore") - elif [[ $current_selection == 5 ]]; then + elif [[ $current_selection == 3 ]]; then update_selection+=("-r") - elif [[ $current_selection == 6 ]]; then + elif [[ $current_selection == 4 ]]; then update_selection+=("-S") - elif [[ $current_selection == 7 ]]; then + elif [[ $current_selection == 5 ]]; then update_selection+=("-v") - elif [[ $current_selection == 8 ]]; then + elif [[ $current_selection == 6 ]]; then read -rt 600 -p "What do you want your timeout to be?: " up_timeout update_selection+=("-t" "$up_timeout") - elif [[ $current_selection == 9 ]]; then + elif [[ $current_selection == 7 ]]; then update_selection+=("-s") - elif [[ $current_selection == 10 ]]; then + elif [[ $current_selection == 8 ]]; then update_selection+=("-p") fi done