From bd4a28073b32c10eb56563f1cf65c9a7d0be2db6 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 15 Sep 2019 12:22:11 +0300 Subject: [PATCH] kiss: fix depends function when run from install/remove --- kiss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kiss b/kiss index 9315c1c..5317af2 100755 --- 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.