aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-manifest
blob: 74cd38003dbc7a505531e3dc5a84cefc970e3dba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -ef
#
# kiss-manifest - Display all files owned by a package.

db_dir=$KISS_ROOT/var/db/kiss/installed/${1-null}

# Check if package is installed and exit if it is not.
[ -d "$db_dir" ] || {
    printf '%s\n' "error: '$1' not installed." >&2
    exit 1
}

cat "$db_dir/manifest"