cpt

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

commit c4f768cec8698d909f7efe84eb428bbeb45e226b
parent 3de1ca9df53fcd2c217d03b6e78ec762343d27e9
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue,  5 Jan 2021 03:44:27 +0300

cpt-depends: minor changes

- cleanup usage
- don't return with failure if a package doesn't have dependencies

Diffstat:
Mcontrib/cpt-depends | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/cpt-depends b/contrib/cpt-depends @@ -3,11 +3,11 @@ case "$1" in --help|-h) - printf '\033[1;33m-> \033[m%s\n' "usage: ${0##*/} [pkg]" + printf 'usage: %s [pkg]\n' "${0##*/}" exit 0 ;; '') set -- "${PWD##*/}" esac cpt-list "$1" >/dev/null -cat "$CPT_ROOT/var/db/cpt/installed/$1/depends" 2>/dev/null +cat "$CPT_ROOT/var/db/cpt/installed/$1/depends" 2>/dev/null ||: