aboutsummaryrefslogtreecommitdiff
path: root/contrib/kiss-depends
blob: f972e3f6ecbaff98255f62b01a80ec7f43912a2d (plain)
1
2
3
4
5
6
7
#!/bin/sh -ef
# Display a package's dependencies

[ "$1" ] || { printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} <pkg>" ; exit 0 ;}

kiss l "$1" >/dev/null
cat "$KISS_ROOT/var/db/kiss/installed/$1/depends" 2>/dev/null