1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 08:30:05 -07:00
kiss/contrib/kiss-manifest-tree
2020-02-25 22:56:41 +02:00

11 lines
224 B
Bash
Executable File

#!/bin/sh -ef
#
# kiss-manifest-tree - Display all files owned by a package.
kiss l "${1:-null}"
db_dir=$KISS_ROOT/var/db/kiss/installed/${1:-null}
printf '%s\n' "[$1]:"
tree -C --fromfile "$db_dir/manifest" | tail -n +2