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

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

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