mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-08-19 20:16:58 +00:00
14 lines
289 B
Plaintext
14 lines
289 B
Plaintext
|
#!/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"
|