kiss/contrib/kiss-revdepends

10 lines
163 B
Plaintext
Raw Normal View History

2019-10-30 04:51:48 -06:00
#!/bin/sh -e
2020-05-01 00:07:20 -06:00
# Display packages which depend on package
2019-10-30 04:51:48 -06:00
2020-09-09 05:20:52 -06:00
[ "$1" ] || set -- "${PWD##*/}"
2019-10-30 04:51:48 -06:00
cd "$KISS_ROOT/var/db/kiss/installed"
grep -E "^$1( |$)" -- */depends