1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00
This commit is contained in:
anmol26s 2017-10-31 19:17:27 +00:00 committed by GitHub
commit 2560b9b824

View file

@ -20,8 +20,7 @@ sudo yunohost app checkurl $domain$path -a $app || ynh_die "The path ${domain}${
db_pass=$(ynh_app_setting_get $app mysqlpwd) db_pass=$(ynh_app_setting_get $app mysqlpwd)
# Restore sources & data # Restore sources & data
final_path=/var/www/$app ynh_restore_file "$final_path"
ynh_backup "www" "$final_path"
# Restore permissions # Restore permissions
sudo chown -R root:root $final_path sudo chown -R root:root $final_path