From ea13127100d2a4b1b8e6744aa0583243e8c8ba11 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 14 Jul 2024 10:50:41 +0300 Subject: [PATCH] check for composer dependencies installed to continue --- INSTALL.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/INSTALL.sh b/INSTALL.sh index 11bd3aad..aad9f4be 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -60,6 +60,11 @@ cd $DIR_APP composer update +## Check composer dependencies received to continue +if [ ! -d "$DIR_APP/vendor" ]; then + echo "Could not get composer dependencies" && exit +fi + # Build PHP-SRC ## Get latest sources