1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-21 22:50:07 -07:00
kiss/contrib/kiss-revdepends
2021-10-05 06:17:38 +03:00

10 lines
163 B
Bash
Executable File

#!/bin/sh -e
# Display packages which depend on package
[ "$1" ] || set -- "${PWD##*/}"
cd "$KISS_ROOT/var/db/kiss/installed"
grep -E "^$1( |$)" -- */depends