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:
commit
71003268eb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue