Add support for eopkg
This commit is contained in:
parent
152323d065
commit
668d64ca2a
12
tux.sh
12
tux.sh
@ -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(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user