summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/xi.sh11
1 files changed, 11 insertions, 0 deletions
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})