diff options
Diffstat (limited to 'contrib/kiss-reporevdepends')
-rwxr-xr-x | contrib/kiss-reporevdepends | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/contrib/kiss-reporevdepends b/contrib/kiss-reporevdepends deleted file mode 100755 index 59262f0..0000000 --- a/contrib/kiss-reporevdepends +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -# Display packages on the repository which depend on package -# shellcheck disable=2086 - -case "$1" in ''|--help|-h) printf 'usage: %s <pkg>\n' "${0##*/}"; exit 0; esac - -pkg="$1" -IFS=:; set -- $KISS_PATH; unset IFS - -for repo do - # Change directory to the upper directory of the repository - # so it outputs packages in this nice looking format. - # repository/package: - cd "$repo/.." ||: - # This grep only checks for the full word - grep "^$pkg\$\|^$pkg\s" -- "${repo##*/}"/*/depends 2>/dev/null ||: -done |