fix delete backup

This commit is contained in:
Heavybullets8 2022-07-26 18:32:35 -06:00
parent 46184a7722
commit 13a2a2f8b2

View File

@ -1,6 +1,10 @@
#!/bin/bash #!/bin/bash
menu(){ menu(){
script=$(readlink -f "$0")
script_path=$(dirname "$script")
script_name="heavy_script.sh"
cd "$script_path" || exit
clear -x clear -x
title title
echo "1) Help" echo "1) Help"
@ -42,15 +46,13 @@ menu(){
;; ;;
6) 6)
deleteBackup="true" deleteBackup="true"
exec bash "$script_name" --restore
exit
;; ;;
7) 7)
self_update="true" self_update="true"
;; ;;
8) 8)
script=$(readlink -f "$0")
script_path=$(dirname "$script")
script_name="heavy_script.sh"
cd "$script_path" || exit
while true while true
do do
clear -x clear -x