composer update into composer install

This commit is contained in:
2026-02-07 20:22:10 +01:00
parent c782f8917b
commit af81fb3159
4 changed files with 3 additions and 10 deletions
-6
View File
@@ -1,8 +1,6 @@
#!/bin/sh
set -e
echo "ca"
FRONTEND_DIR=/app
APP_DIR=/var/www/app
PUBLIC_DIR="$APP_DIR/public"
@@ -13,15 +11,11 @@ WAITED=0
while [ ! -f "$APP_DIR/composer.json" ] || [ ! -d "$APP_DIR/vendor" ] || [ ! -f "$APP_DIR/public/index.php" ]; do
if [ $WAITED -ge $MAX_WAIT ]; then
exit 1
echo "je sais pas ce que c"
fi
sleep 3
WAITED=$((WAITED + 3))
echo "sleep"
done
echo "c bon"
if [ ! -d "$FRONTEND_DIR/.git" ]; then
git clone -b "${FRONTEND_GIT_BRANCH:-main}" "$GIT_URL" "$FRONTEND_DIR"