mirror of
https://github.com/YunoHost-Apps/lychee_ynh.git
synced 2024-09-03 19:36:36 +02:00
Fix
This commit is contained in:
parent
92d842e84c
commit
cd265c2067
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue