diff --git a/scripts/restore b/scripts/restore index 0660040..b31cae6 100755 --- a/scripts/restore +++ b/scripts/restore @@ -9,7 +9,7 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression "Restoring the app main directory..." -ynh_restore_file --origin_path="$install_dir" +ynh_restore "$install_dir" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir"