diff --git a/scripts/restore b/scripts/restore index 2b62a3f..dfb22ee 100755 --- a/scripts/restore +++ b/scripts/restore @@ -17,17 +17,8 @@ ynh_script_progression --message="Restoring the app main directory..." --weight= ynh_restore_file --origin_path="$install_dir" -chown -R $app:www-data "$install_dir" - -#================================================= -# RESTORE THE DATA DIRECTORY -#================================================= -ynh_script_progression --message="Restoring the data directory..." --weight=1 - -ynh_restore_file --origin_path="$data_dir" --not_mandatory - chmod -R o-rwx "$install_dir" -chown -R $app:www-data "$data_dir" +chown -R $app:www-data "$install_dir" #================================================= # RESTORE THE MYSQL DATABASE