EVO: script update-all > change text & rm composer-setup.php position in script
parent
96cccf23c7
commit
c6c31c5ead
|
@ -31,12 +31,12 @@ if [[ -z "$composercommand" ]]; then
|
||||||
$phpcommand -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
$phpcommand -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||||
ACTUAL_SIGNATURE=$($phpcommand -r "echo hash_file('SHA384', 'composer-setup.php');")
|
ACTUAL_SIGNATURE=$($phpcommand -r "echo hash_file('SHA384', 'composer-setup.php');")
|
||||||
if [[ "$EXPECTED_SIGNATURE" != "$ACTUAL_SIGNATURE" ]]; then
|
if [[ "$EXPECTED_SIGNATURE" != "$ACTUAL_SIGNATURE" ]]; then
|
||||||
echo "Error download composer (different hash"
|
echo "Error download composer (different hash)"
|
||||||
rm composer-setup.php
|
rm composer-setup.php
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
$phpcommand composer-setup.php --quiet
|
|
||||||
rm composer-setup.php
|
rm composer-setup.php
|
||||||
|
$phpcommand composer-setup.php --quiet
|
||||||
fi
|
fi
|
||||||
$phpcommand composer.phar update -o
|
$phpcommand composer.phar update -o
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue