diff options
author | davidovski <david@davidovski.xyz> | 2022-05-17 00:17:12 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-17 00:17:12 +0100 |
commit | 072ec9b4489017b272ff221c19b8af795ef70e47 (patch) | |
tree | 945ec5bbe2601f0b7ec4ededf40427323e8f0f2c /src | |
parent | 038a56d555833d2db3af772b890a8fc8c283120e (diff) |
implemented xi info
Diffstat (limited to 'src')
-rwxr-xr-x | src/xi.sh | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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}) |