From 813396df2adf44a8f982985aa54de18e1c4c8bb3 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Tue, 26 Jul 2022 13:11:14 -0600 Subject: [PATCH] number order --- functions/menu.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/menu.sh b/functions/menu.sh index 72e3df90..8e127ca9 100644 --- a/functions/menu.sh +++ b/functions/menu.sh @@ -20,7 +20,7 @@ menu(){ 2) mount="true" ;; - 4) + 3) read -rt 600 -p "Please type the max number of backups to keep: " number_of_backups re='^[0-9]+$' number_of_backups=$number_of_backups @@ -28,13 +28,13 @@ menu(){ [[ "$number_of_backups" -le 0 ]] && echo "Error: Number of backups is required to be at least 1" && exit backup "$number_of_backups" ;; - 5) + 4) restore="true" ;; - 6) + 5) deleteBackup="true" ;; - 7) + 6) echo "" echo "1 Update Apps Excluding likely breaking major changes" echo "2 Update Apps Including likely breaking major changes"