1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-11-13 18:25:17 -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