From dc7608cab584ec21a532398e3bd9bdaae8c53229 Mon Sep 17 00:00:00 2001 From: mollusk Date: Thu, 19 Jul 2018 15:55:25 -0700 Subject: [PATCH] Add support for pacman --- tux.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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(){