From b945d3779d720976310ddcfa0b62b43cc2f96a9a Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Thu, 16 May 2019 22:20:54 +0200 Subject: [PATCH] Cosmetic fixes --- scripts/backup | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/backup b/scripts/backup index 48e6d03..f55f3f3 100644 --- a/scripts/backup +++ b/scripts/backup @@ -32,8 +32,9 @@ db_name=$(ynh_app_setting_get --app=$app --key=db_name) #================================================= # BACKUP APP MAIN DIR #================================================= + # Clean cache files before backup (saved some disk space) -ynh_secure_remove --file=${final_path}/var/cache/prod +ynh_secure_remove --file=$final_path/var/cache/prod ynh_script_progression --message="Backing up the main app directory..." ynh_backup --src_path="$final_path" @@ -68,4 +69,4 @@ ynh_backup "/etc/fail2ban/filter.d/$app.conf" #================================================= # END OF SCRIPT #================================================= -ynh_script_progression --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." --last \ No newline at end of file +ynh_script_progression --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." --last