From 668d64ca2a7bae27620b9bd02268a30d2febb3c3 Mon Sep 17 00:00:00 2001 From: mollusk Date: Thu, 19 Jul 2018 16:34:24 -0700 Subject: [PATCH] Add support for eopkg --- tux.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tux.sh b/tux.sh index 519735c..f48a214 100755 --- a/tux.sh +++ b/tux.sh @@ -51,7 +51,8 @@ declare -a MANAGER=( 'apt' 'dnf' 'xbps-install' -'pacman') +'pacman' +'eopkg') ###################### @@ -108,6 +109,15 @@ elif [ "${MANAGER}" = "pacman" ];then reinstallCmd="${MANAGER} -S" searchCmd="${MANAGER} -Ss" 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 checkArg(){