diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-15 09:22:10 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-15 09:22:10 +0000 |
commit | c1f40ce4eb2cd58f1561eed1b6bbbea62eccbaa0 (patch) | |
tree | d97af1c7da4cf0d7b1d1bf7d61c4b5aec2aad32b | |
parent | 9a3ea6c735c0503482569f1bebb5bbf5159fbb8b (diff) | |
download | cpt-c1f40ce4eb2cd58f1561eed1b6bbbea62eccbaa0.tar.gz |
kiss: fix depends function when run from install/remove
FossilOrigin-Name: 9b46800b027879ab6983757fbd9034e41280f90aad48bfc488e6596fd4420721
-rwxr-xr-x | kiss | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. |