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

use new helper to restore backup

This commit is contained in:
Clément 2017-12-03 12:39:12 +01:00
parent 2025b57780
commit d63ac45831

View file

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