From 6f302088632eb8f16f51c4969ce46f9820f269f8 Mon Sep 17 00:00:00 2001 From: th33xitus <> Date: Sun, 26 Jul 2020 18:11:22 +0200 Subject: [PATCH] rename INI_DIR to INI_FILE --- scripts/backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/backup.sh b/scripts/backup.sh index e62fb6e..2f98411 100644 --- a/scripts/backup.sh +++ b/scripts/backup.sh @@ -28,12 +28,12 @@ read_bb4u_stat(){ toggle_backups(){ source_ini if [ "$backup_before_update" = "true" ]; then - sed -i '/backup_before_update=/s/true/false/' $INI_DIR + sed -i '/backup_before_update=/s/true/false/' $INI_FILE BB4U_STATUS="${green}[Enable]${default} backups before updating " CONFIRM_MSG=" Backups before updates are now >>> DISABLED <<< !" fi if [ "$backup_before_update" = "false" ]; then - sed -i '/backup_before_update=/s/false/true/' $INI_DIR + sed -i '/backup_before_update=/s/false/true/' $INI_FILE BB4U_STATUS="${red}[Disable]${default} backups before updating " CONFIRM_MSG=" Backups before updates are now >>> ENABLED <<< !" fi