Safer install of composer
This commit is contained in:
parent
edd0e53d89
commit
290799c972
File diff suppressed because it is too large
Load Diff
|
@ -333,7 +333,14 @@ function install_movim {
|
|||
git checkout $MOVIM_COMMIT -b $MOVIM_COMMIT
|
||||
set_completion_param "movim commit" "$MOVIM_COMMIT"
|
||||
|
||||
curl -sS https://getcomposer.org/installer | php
|
||||
# curl -sS https://getcomposer.org/installer | php
|
||||
if [ -f ~/freedombone/image_build/composer_install ]; then
|
||||
cat ~/freedombone/image_build/composer_install | php
|
||||
else
|
||||
if [ -f /home/$MY_USERNAME/freedombone/image_build/composer_install ]; then
|
||||
cat /home/$MY_USERNAME/freedombone/image_build/composer_install | php
|
||||
fi
|
||||
fi
|
||||
php composer.phar install
|
||||
|
||||
cd /var/www/$MOVIM_DOMAIN_NAME/htdocs/config
|
||||
|
|
Loading…
Reference in New Issue