Ensure tmp folder is empty

This commit is contained in:
Maxime Hélias 2022-12-20 11:16:53 +01:00 committed by Maxime Helias
parent 8ebbaf1413
commit 2cdc2cf3d1

View File

@ -11,6 +11,8 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
# After the installation, the following block can be deleted
if [ ! -f composer.json ]; then
CREATION=1
rm -Rf tmp/
composer create-project "symfony/skeleton $SYMFONY_VERSION" tmp --stability="$STABILITY" --prefer-dist --no-progress --no-interaction --no-install
cd tmp