diff options
author | davidovski <david@davidovski.xyz> | 2022-03-15 09:53:27 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-15 09:53:27 +0000 |
commit | eac3c122678d19e090742d01e348d800d358733a (patch) | |
tree | eeb026a5ec6a32a69d02f6999e441f7d667422a6 /src/xi.sh | |
parent | 0c0496130f64b4ebe051172af86c0c332db9d5e9 (diff) |
refactoringrefactoringrefactoring
Diffstat (limited to 'src/xi.sh')
-rwxr-xr-x | src/xi.sh | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 $@ |