cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit bd4a28073b32c10eb56563f1cf65c9a7d0be2db6
parent fe7cc390260d17c6f7e7d97d78efb289de68f287
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Sun, 15 Sep 2019 12:22:11 +0300

kiss: fix depends function when run from install/remove

Diffstat:
Mkiss | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kiss b/kiss @@ -180,7 +180,8 @@ pkg_depends() { # listed first and then the parents in reverse order. contains "$deps" "$1" || { # Filter out non-explicit, aleady installed dependencies. - [ -z "$2" ] && (pkg_list "$1" >/dev/null) && return + [ -z "${action##b*}" ] && [ -z "$2" ] && + (pkg_list "$1" >/dev/null) && return # Recurse through the dependencies of the child # packages. Keep doing this.