From a0f9831fb28353fa0e38474e03c1fd743c07f82a Mon Sep 17 00:00:00 2001 From: Augustin Trancart Date: Sun, 3 May 2020 15:05:26 +0200 Subject: [PATCH] Fix backup of uploads --- scripts/backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/backup b/scripts/backup index da38930..ca58642 100644 --- a/scripts/backup +++ b/scripts/backup @@ -42,7 +42,7 @@ ynh_backup --src_path="$dump_file" # BACKUP DIASPORA UPLOADS #================================================= ynh_script_progression --message="Backup uploads..." --weight=10 -if [ -x $final_path/diaspora/public/uploads]; then +if [ -x $final_path/diaspora/public/uploads ]; then ynh_backup --src_path="$final_path/diaspora/public/uploads" else echo "uploads folder does not exist. Skipping."