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