From e2077014771aa539dc127f37bb8d5e2e9f7dd507 Mon Sep 17 00:00:00 2001 From: bryan Date: Sun, 26 Apr 2020 23:15:11 -0400 Subject: [PATCH] Fix derp and make apt-get noisier --- installJRMC | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/installJRMC b/installJRMC index 087a603..0c3d814 100755 --- a/installJRMC +++ b/installJRMC @@ -302,12 +302,12 @@ EOF _pkg_query(){ _ifSudo rpm -q "$@"; } _firewall_cmd(){ _ifSudo firewall-cmd "$@"; } elif [[ "$ID" =~ ^(ubuntu|debian)$ ]]; then - _pkg_install(){ _ifSudo apt-get install -y "$@"; } - _pkg_reinstall(){ _ifSudo apt-get reinstall -y "$@"; } - _pkg_install_nogpg(){ _ifSudo apt-get install -y "$@"; } - _pkg_remove(){ _ifSudo apt-get remove -y "$@"; } - _pkg_update(){ _ifSudo apt-get update -y; } - _pkg_query(){ _ifSudo dpkg -l "$@"; } + _pkg_install(){ _ifSudo apt-get install -y -q0 "$@"; } + _pkg_reinstall(){ _ifSudo apt-get reinstall -y -q0 "$@"; } + _pkg_install_nogpg(){ _ifSudo apt-get install -y -q0 "$@"; } + _pkg_remove(){ _ifSudo apt-get remove -y -q0 "$@"; } + _pkg_update(){ _ifSudo apt-get update -y -q0; } + _pkg_query(){ _ifSudo dpkg -s "$@"; } _firewall_cmd(){ _ifSudo ufw "$@"; } fi