1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lychee_ynh.git synced 2024-09-03 19:36:36 +02:00
This commit is contained in:
ericgaspar 2021-01-28 14:23:34 +01:00
parent 92d842e84c
commit cd265c2067
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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"