diff --git a/scripts/upgrade b/scripts/upgrade index 8f892f3..46eaacc 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -120,7 +120,7 @@ ynh_script_progression --message="Upgrading the application..." --weight=1 ynh_backup_if_checksum_is_different --file="$final_path/config.php" -exec_as $app php${phpversion} "$final_path/admin/cli/upgrade.php" --non-interactive +ynh_exec_as $app php${phpversion} "$final_path/admin/cli/upgrade.php" --non-interactive # Recalculate and store the checksum of the file for the next upgrade. ynh_store_file_checksum --file="$final_path/config.php"