Remove .composer.refresh if it exists
This commit is contained in:
parent
42586535f4
commit
9fb30c0958
2
start
2
start
@ -15,7 +15,7 @@ if [ "${role}" = "app" ]; then
|
|||||||
if [ "${env}" != "local" -a -r "artisan" ]; then
|
if [ "${env}" != "local" -a -r "artisan" ]; then
|
||||||
# See if we need to refresh our dependancies
|
# See if we need to refresh our dependancies
|
||||||
if [[ -r composer.lock && ( -e .composer.refresh || ! -d vendor ) ]]; then
|
if [[ -r composer.lock && ( -e .composer.refresh || ! -d vendor ) ]]; then
|
||||||
composer install
|
composer install && ( test -e .composer.refresh && rm -f .composer.refresh )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Caching configuration..."
|
echo "Caching configuration..."
|
||||||
|
Loading…
Reference in New Issue
Block a user