cpt

Carbs Packaging Tools
git clone git://git.carbslinux.org/cpt
Log | Files | Refs | README | LICENSE

commit a441aed47e4eacfb105fc4b49226df7d70a11276
parent 2c303e321984a4c6695f0d009e3aff159406a23c
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue,  1 Sep 2020 00:24:31 +0300

cpt-revdepends: do not require to be installed, skip make deps.

Diffstat:
Mcontrib/cpt-revdepends | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/contrib/cpt-revdepends b/contrib/cpt-revdepends @@ -2,11 +2,10 @@ # Display packages which depend on package case "$1" in ''|--help|-h) printf '%s\n' "usage: ${0##*/} [pkg]" ; exit 0 ; esac -cpt-search "$1" >/dev/null # 'cd' to the database directory as a simple way of # stripping the path and performing a 'basename'. cd "$CPT_ROOT/var/db/cpt/installed" # Use a simple 'grep' to display packages depending on '$1'. -grep "^$1" -- */depends +grep "^$1\$" -- */depends