From e33c54385974b99611b850734d0521d1b87b9218 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 15 May 2025 09:52:26 +0200 Subject: [PATCH] Update tools.func --- misc/tools.func | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/tools.func b/misc/tools.func index f2b4913..7639f0b 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -355,14 +355,14 @@ install_composer() { if [[ -x "$COMPOSER_BIN" ]]; then local CURRENT_VERSION CURRENT_VERSION=$("$COMPOSER_BIN" --version | awk '{print $3}') - msg_info "Composer $CURRENT_VERSION found, updating to latest" + $STD msg_info "Composer $CURRENT_VERSION found, updating to latest" else msg_info "Setup Composer" fi # 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 + php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer &>/dev/null if [[ $? -ne 0 ]]; then msg_error "Failed to install Composer"