From c27df8fa817d2578332ee49ccc79df133fd77f20 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 20 Feb 2022 22:42:46 +0000 Subject: added versioning information --- src/xi.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/xi.sh') 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") -- cgit v1.2.1