Try and silence composer
This commit is contained in:
parent
e3d650ae8b
commit
c5963f8a21
@ -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) }')
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user