aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-depends-finder
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/kiss-depends-finder')
-rwxr-xr-xcontrib/kiss-depends-finder4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/kiss-depends-finder b/contrib/kiss-depends-finder
index 432a105..403723e 100755
--- a/contrib/kiss-depends-finder
+++ b/contrib/kiss-depends-finder
@@ -2,7 +2,9 @@
#
# Find missing dependencies by parsing 'ldd'.
-kiss l "${1:-null}" >/dev/null
+[ "$1" ] || { printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} <pkg>" ; exit 0 ;}
+
+kiss l "$1" >/dev/null
db_dir=$KISS_ROOT/var/db/kiss/installed
grep=$(command -v ggrep) || grep='grep'