summaryrefslogtreecommitdiff
path: root/src/xi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/xi.sh')
-rwxr-xr-xsrc/xi.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xi.sh b/src/xi.sh
index 1e240dd..815fd67 100755
--- a/src/xi.sh
+++ b/src/xi.sh
@@ -60,6 +60,9 @@ EOF
[ -z "${LIBDIR}" ] && LIBDIR=/usr/lib/xipkg
+[ -f ${LIBDIR}/VERSION ] && VERSION=$(cat ${LIBDIR}/VERSION) || VERSION=
+export VERSION
+
export SYSROOT=/
export CONF_FILE="/etc/xipkg.conf"
export VERBOSE=false
@@ -106,6 +109,7 @@ done
. ${LIBDIR}/util.sh
. ${LIBDIR}/validate.sh
+. ${LIBDIR}/stats.sh
. ${LIBDIR}/query.sh
. ${LIBDIR}/sync.sh
. ${LIBDIR}/install.sh
@@ -116,7 +120,7 @@ done
shift $((OPTIND-1))
if [ "$#" = "0" ]; then
- echo "xilinux running xipkg (palceholder text)"
+ show_xipkg_stats
else
case "$1" in
"sync")