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