mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-10 16:58:34 +02:00
Installer now default to IPv4 for systems with no IPv6
This commit is contained in:
parent
c1d638e885
commit
2df44e57ca
1 changed files with 2 additions and 2 deletions
|
@ -299,8 +299,8 @@ EOF
|
|||
sed -i "s/DB_USERNAME=root/DB_USERNAME=$DB_USER/g" /var/www/cp/.env
|
||||
sed -i "s/DB_PASSWORD=/DB_PASSWORD=$DB_PASSWORD/g" /var/www/cp/.env
|
||||
|
||||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||
EXPECTED_SIGNATURE="$(wget -q -O - https://composer.github.io/installer.sig)"
|
||||
curl -4sS https://getcomposer.org/installer -o composer-setup.php
|
||||
EXPECTED_SIGNATURE="$(wget -4 -q -O - https://composer.github.io/installer.sig)"
|
||||
ACTUAL_SIGNATURE="$(php -r "echo hash_file('sha384', 'composer-setup.php');")"
|
||||
|
||||
if [ "$EXPECTED_SIGNATURE" != "$ACTUAL_SIGNATURE" ]
|
||||
|
|
Loading…
Add table
Reference in a new issue