diff --git a/api/Task/Packages/UpdateTask.php b/api/Task/Packages/UpdateTask.php index 5081baa5..194b9b30 100644 --- a/api/Task/Packages/UpdateTask.php +++ b/api/Task/Packages/UpdateTask.php @@ -239,6 +239,8 @@ private function handleContaoRequirement(CloudChanges $definition): void break; } } + } elseif (isset($json['scripts'][$group]) && 'Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication' === $json['scripts'][$group]) { + $json['scripts'][$group] = '@php vendor/bin/contao-setup'; } }