diff --git a/tux.sh b/tux.sh index be93081..0563630 100755 --- a/tux.sh +++ b/tux.sh @@ -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(){