Add support for eopkg

This commit is contained in:
mollusk 2018-07-19 16:34:24 -07:00
parent 152323d065
commit 668d64ca2a

12
tux.sh
View File

@ -51,7 +51,8 @@ declare -a MANAGER=(
'apt' 'apt'
'dnf' 'dnf'
'xbps-install' 'xbps-install'
'pacman') 'pacman'
'eopkg')
###################### ######################
@ -108,6 +109,15 @@ elif [ "${MANAGER}" = "pacman" ];then
reinstallCmd="${MANAGER} -S" reinstallCmd="${MANAGER} -S"
searchCmd="${MANAGER} -Ss" searchCmd="${MANAGER} -Ss"
supCmd="${MANAGER} -Syu" supCmd="${MANAGER} -Syu"
elif [ "${MANAGER}" = "eopkg" ];then
installCmd="${MANAGER} it"
cleanCmd="${MANAGER} dc"
orphanCmd="${MANAGER} rmo"
removeCmd="${MANAGER} rm"
reinstallCmd="${MANAGER} install --reinstall"
searchCmd="${MANAGER} sr"
supCmd="${MANAGER} up"
fi fi
checkArg(){ checkArg(){