From 072ec9b4489017b272ff221c19b8af795ef70e47 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 17 May 2022 00:17:12 +0100 Subject: implemented xi info --- src/xi.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/xi.sh b/src/xi.sh index b16a36e..339f51f 100755 --- a/src/xi.sh +++ b/src/xi.sh @@ -202,6 +202,17 @@ else shift file_info $@ ;; + "info") + shift + for package in $@; do + infofile=${INSTALLED_DIR}/$package/info + [ -f $infofile ] && { + cat $infofile + } || { + printf "Package info for $package could not be found!" + } + done + ;; "verify") shift [ -z "$*" ] && set -- $(ls ${INSTALLED_DIR}) -- cgit v1.2.1