Make apt-get noisier

This commit is contained in:
2020-04-26 23:01:42 -04:00
parent 45f61ac3a0
commit 5198f9c843

View File

@@ -302,11 +302,11 @@ 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_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 -l "$@"; }
_firewall_cmd(){ _ifSudo ufw "$@"; }
fi