Add support for pacman

This commit is contained in:
mollusk 2018-07-19 15:55:25 -07:00
parent bc8a7c04cc
commit dc7608cab5

9
tux.sh
View File

@ -98,6 +98,15 @@ elif [ "${MANAGER}" = "xbps-install" ];then
reinstallCmd="${MANAGER} -f"
searchCmd="xbps-query -Rs"
supCmd="${MANAGER} -Su"
elif [ "${MANAGER}" = "pacman" ];then
installCmd="${MANAGER} -S"
cleanCmd="${MANAGER} -Scc"
orphanCmd="${MANAGER} -Rns $(pacman -Qtdq)"
removeCmd="${MANAGER} -R"
reinstallCmd="${MANAGER} -S"
searchCmd="${MANAGER} -Ss"
supCmd="${MANAGER} -Syu"
fi
checkArg(){