1 Commits

Author SHA1 Message Date
e207701477 Fix derp and make apt-get noisier 2020-04-26 23:15:11 -04:00

View File

@@ -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