From c1f40ce4eb2cd58f1561eed1b6bbbea62eccbaa0 Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Sun, 15 Sep 2019 09:22:10 +0000 Subject: kiss: fix depends function when run from install/remove FossilOrigin-Name: 9b46800b027879ab6983757fbd9034e41280f90aad48bfc488e6596fd4420721 --- kiss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kiss') 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. -- cgit v1.2.3