kiss/contrib/kiss-manifest-tree

11 lines
224 B
Plaintext
Raw Normal View History

2019-10-30 04:51:48 -06:00
#!/bin/sh -ef
#
# kiss-manifest-tree - Display all files owned by a package.
2020-02-25 13:56:41 -07:00
kiss l "${1:-null}"
2019-10-30 04:51:48 -06:00
2020-02-25 13:56:41 -07:00
db_dir=$KISS_ROOT/var/db/kiss/installed/${1:-null}
2019-10-30 04:51:48 -06:00
printf '%s\n' "[$1]:"
tree -C --fromfile "$db_dir/manifest" | tail -n +2