Add support for pacman
This commit is contained in:
parent
bc8a7c04cc
commit
dc7608cab5
9
tux.sh
9
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(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user