From dd636066839354282ed9e77bd7aa182715213333 Mon Sep 17 00:00:00 2001 From: FluffyTigerfear Date: Wed, 23 Nov 2022 10:56:54 +0800 Subject: [PATCH] Update install-release.sh --- install-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-release.sh b/install-release.sh index a03b01d..fa668b8 100644 --- a/install-release.sh +++ b/install-release.sh @@ -208,7 +208,7 @@ identify_the_operating_system_and_architecture() { PACKAGE_MANAGEMENT_REMOVE='pacman -Rsn' package_provide_tput='ncurses' elif [[ "$(type -P emerge)" ]]; then - PACKAGE_MANAGEMENT_INSTALL='emerge -v' + PACKAGE_MANAGEMENT_INSTALL='emerge -qv' PACKAGE_MANAGEMENT_REMOVE='emerge -Cv' package_provide_tput='ncurses' else @@ -339,7 +339,7 @@ install_software() { package_name="$1" file_to_detect="$2" type -P "$file_to_detect" > /dev/null 2>&1 && return - if ${PACKAGE_MANAGEMENT_INSTALL} "$package_name"; then + if ${PACKAGE_MANAGEMENT_INSTALL} "$package_name" >/dev/null 2>&1; then echo "info: $package_name is installed." else echo "error: Installation of $package_name failed, please check your network."