aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-manifest
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/kiss-manifest')
-rwxr-xr-xcontrib/kiss-manifest10
1 files changed, 3 insertions, 7 deletions
diff --git a/contrib/kiss-manifest b/contrib/kiss-manifest
index 74cd380..39a01d9 100755
--- a/contrib/kiss-manifest
+++ b/contrib/kiss-manifest
@@ -2,12 +2,8 @@
#
# kiss-manifest - Display all files owned by a package.
-db_dir=$KISS_ROOT/var/db/kiss/installed/${1-null}
+kiss l "${1:-null}" >/dev/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
-}
+db_dir=$KISS_ROOT/var/db/kiss/installed/${1:-null}
-cat "$db_dir/manifest"
+cat "$db_dir/manifest" 2>/dev/null