summaryrefslogtreecommitdiff
path: root/src/xi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/xi.sh')
-rwxr-xr-xsrc/xi.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/xi.sh b/src/xi.sh
index 39581e9..6cbb315 100755
--- a/src/xi.sh
+++ b/src/xi.sh
@@ -34,6 +34,8 @@ Available Commands:
update all packages on the system
remove [packages...]
remove packages from the system
+ reinstall [packages..]
+ remove and reinstall package(s) into the system
fetch [package]
download a .xipkg file
keyimport [name] [url]
@@ -116,6 +118,7 @@ done
. ${LIBDIR}/sync.sh
. ${LIBDIR}/install.sh
. ${LIBDIR}/get.sh
+. ${LIBDIR}/remove.sh
shift $((OPTIND-1))
@@ -143,9 +146,12 @@ else
;;
"remove")
shift
- . ${LIBDIR}/remove.sh
remove $@
;;
+ "reinstall")
+ shift
+ reinstall $@
+ ;;
"files")
shift
files $@