From bd05af8d22c8db1d8f8ab8d475925f9082af8057 Mon Sep 17 00:00:00 2001 From: Radim Klaska Date: Thu, 21 Mar 2024 22:15:06 +0100 Subject: [PATCH] mdt-36410: Make sure scripts are executable. --- composer.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/composer.json b/composer.json index 4e09d2a..36a7047 100644 --- a/composer.json +++ b/composer.json @@ -64,5 +64,13 @@ "[web-root]/private/scripts/deploy_after.php": "assets/misc/deploy_after.php" } } + }, + "scripts": { + "post-install-cmd": [ + "find .lando/ .github/scripts/ -type f -name '*.sh' | xargs --no-run-if-empty chmod a+x" + ], + "post-update-cmd": [ + "find .lando/ .github/scripts/ -type f -name '*.sh' | xargs --no-run-if-empty chmod a+x" + ] } }