number order
This commit is contained in:
parent
7a4622b3e3
commit
813396df2a
@ -20,7 +20,7 @@ menu(){
|
|||||||
2)
|
2)
|
||||||
mount="true"
|
mount="true"
|
||||||
;;
|
;;
|
||||||
4)
|
3)
|
||||||
read -rt 600 -p "Please type the max number of backups to keep: " number_of_backups
|
read -rt 600 -p "Please type the max number of backups to keep: " number_of_backups
|
||||||
re='^[0-9]+$'
|
re='^[0-9]+$'
|
||||||
number_of_backups=$number_of_backups
|
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
|
[[ "$number_of_backups" -le 0 ]] && echo "Error: Number of backups is required to be at least 1" && exit
|
||||||
backup "$number_of_backups"
|
backup "$number_of_backups"
|
||||||
;;
|
;;
|
||||||
5)
|
4)
|
||||||
restore="true"
|
restore="true"
|
||||||
;;
|
;;
|
||||||
6)
|
5)
|
||||||
deleteBackup="true"
|
deleteBackup="true"
|
||||||
;;
|
;;
|
||||||
7)
|
6)
|
||||||
echo ""
|
echo ""
|
||||||
echo "1 Update Apps Excluding likely breaking major changes"
|
echo "1 Update Apps Excluding likely breaking major changes"
|
||||||
echo "2 Update Apps Including likely breaking major changes"
|
echo "2 Update Apps Including likely breaking major changes"
|
||||||
|
Loading…
Reference in New Issue
Block a user