From 6101cf4ccd01f226de467c3fbf4e77dcbb7c5963 Mon Sep 17 00:00:00 2001 From: Jon Uhlmann Date: Thu, 25 Apr 2024 16:08:31 +0200 Subject: [PATCH] Fix: Run script also after install --- Classes/Composer.php | 2 +- composer.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Classes/Composer.php b/Classes/Composer.php index afe1a98..c842793 100644 --- a/Classes/Composer.php +++ b/Classes/Composer.php @@ -14,7 +14,7 @@ class Composer * @return void * @throws FilesException */ - public static function postPackageUpdate(): void + public static function postPackageUpdateAndInstall(): void { $console = new ConsoleOutput(); $console->outputLine(''); diff --git a/composer.json b/composer.json index ec314c1..4529bda 100644 --- a/composer.json +++ b/composer.json @@ -47,7 +47,8 @@ }, "extra": { "neos/flow": { - "post-update": "Carbon\\Pipeline\\Composer::postPackageUpdate" + "post-update": "Carbon\\Pipeline\\Composer::postPackageUpdateAndInstall", + "post-install": "Carbon\\Pipeline\\Composer::postPackageUpdateAndInstall" } } }