summaryrefslogtreecommitdiff
path: root/src/xi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/xi.sh')
-rwxr-xr-xsrc/xi.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/xi.sh b/src/xi.sh
index c241585..cf05297 100755
--- a/src/xi.sh
+++ b/src/xi.sh
@@ -211,6 +211,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})