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