diff --git a/scripts/restore b/scripts/restore index edc753a..50ef812 100644 --- a/scripts/restore +++ b/scripts/restore @@ -17,6 +17,9 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" +# Grav will complain about missing backup directory, let's create it +mkdir -p "$install_dir/backup" + chown -R $app:www-data "$install_dir" find "$install_dir" -type f -exec chmod 640 {} \; find "$install_dir/bin" -type f -exec chmod 750 {} \;