1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-23 07:30:16 -07:00
kiss/contrib/kiss-revdepends
2020-09-09 14:20:52 +03:00

9 lines
153 B
Bash
Executable File

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