1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-11-04 22:15:36 -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