Remove .composer.refresh if it exists

This commit is contained in:
Deon George 2018-05-08 15:50:00 +10:00
parent 42586535f4
commit 9fb30c0958

2
start
View File

@ -15,7 +15,7 @@ if [ "${role}" = "app" ]; then
if [ "${env}" != "local" -a -r "artisan" ]; then
# See if we need to refresh our dependancies
if [[ -r composer.lock && ( -e .composer.refresh || ! -d vendor ) ]]; then
composer install
composer install && ( test -e .composer.refresh && rm -f .composer.refresh )
fi
echo "Caching configuration..."