Add composer install to installer
This commit is contained in:
parent
3c33cfd8b2
commit
dff54ac880
8
install
8
install
|
@ -312,6 +312,14 @@ else
|
||||||
checkCommandExists "psql"
|
checkCommandExists "psql"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check if composer exists and install if it doesn't
|
||||||
|
eval hash "composer" 2>/dev/null
|
||||||
|
commandFound=$?
|
||||||
|
if [[ ! ${commandFound} -eq 0 ]]; then
|
||||||
|
curl -sS https://getcomposer.org/installer | php
|
||||||
|
mv composer.phar /usr/local/bin/composer
|
||||||
|
fi
|
||||||
|
|
||||||
# Run composer (install PHP dependencies) and create a VERSION file
|
# Run composer (install PHP dependencies) and create a VERSION file
|
||||||
loudCmd "./build.sh"
|
loudCmd "./build.sh"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue