summaryrefslogtreecommitdiff
path: root/src/xi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/xi.sh')
-rwxr-xr-xsrc/xi.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/xi.sh b/src/xi.sh
index adf7c1c..03c049e 100755
--- a/src/xi.sh
+++ b/src/xi.sh
@@ -13,6 +13,8 @@
#include remove.sh
#include stats.sh
#include bootstrap.sh
+#include mirror.sh
+
#>echo "VERSION=$(git describe --always)"
usage () {
@@ -82,6 +84,9 @@ ${BLUE}Available Commands:
${LIGHT_GREEN}bootstrap ${LIGHT_BLUE}[additional packages...]
${LIGHT_CYAN}installs base packages and system files to an empty system
+ ${LIGHT_GREEN}mirror [path]
+ ${LIGHT_CYAN}create a repository mirror [default_path: /var/lib/xipkg/mirror]
+
${LIGHT_GREEN}help
${LIGHT_CYAN}shows this message${RESET}
@@ -223,6 +228,10 @@ else
shift
info $@
;;
+ "mirror")
+ shift
+ mirror $@
+ ;;
"verify")
shift
[ -z "$*" ] && set -- $(ls ${SYSROOT}${INSTALLED_DIR})