1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00

Merge pull request #36 from YunoHost-Apps/fix/restore

Restoration fail if the /var/www/$app don't exit
This commit is contained in:
Clément 2017-12-03 12:43:46 +01:00 committed by GitHub
commit 71003268eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ db_pass=$(ynh_app_setting_get $app mysqlpwd)
# Restore sources & data
final_path=/var/www/$app
ynh_backup "www" "$final_path"
ynh_restore_file "$final_path"
# Restore permissions
sudo chown -R root:root $final_path