From cd265c2067798df23cf78b867103bab1503fb868 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 28 Jan 2021 14:23:34 +0100 Subject: [PATCH] Fix --- scripts/restore | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index fe5f82e..9cabb9a 100755 --- a/scripts/restore +++ b/scripts/restore @@ -69,7 +69,7 @@ ynh_system_user_create --username=$app ynh_script_progression --message="Restoring Lychee data..." # Use --not_mandatory for the data directory, because if the backup has been made with BACKUP_CORE_ONLY, there's no data into the backup. -ynh_restore_file --origin_path=$public_path --not_mandatory +ynh_restore_file --origin_path="$public_path" --not_mandatory #================================================= # RESTORE USER RIGHTS diff --git a/scripts/upgrade b/scripts/upgrade index d8c7436..f654f92 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -103,7 +103,7 @@ then ynh_setup_source --dest_dir="$final_path" # Copy the admin saved settings from tmp directory to final path - cp -a "$tmpdiruser.css" "$final_path/public/dist/user.css" + cp -a "$tmpdir/user.css" "$final_path/public/dist/user.css" # Remove the tmp directory securely ynh_secure_remove --file="$tmpdir"