Try and silence composer

This commit is contained in:
Michel Roegl-Brunner
2025-05-15 15:25:00 +02:00
parent e3d650ae8b
commit c5963f8a21
2 changed files with 4 additions and 1 deletions

View File

@@ -442,7 +442,7 @@ install_composer() {
# Download and install latest composer
curl -fsSL https://getcomposer.org/installer -o /tmp/composer-setup.php
php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer >/dev/null 2>&1 </dev/null
script -q -c "php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer" /dev/null
if [[ $? -ne 0 ]]; then
msg_error "Failed to install Composer"