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

@ -17,6 +17,9 @@ msg_info "Installing Dependencies"
# $STD apt-get install -y gnupg2
msg_ok "Installed Dependencies"
install_php
install_composer
# Example Setting for Test
#NODE_MODULE="pnpm@10.1,yarn"
#RELEASE=$(curl_handler -fsSL https://api.github.com/repos/babybuddy/babybuddy/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')

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"