forked from kiss-community/kiss
kiss: fix depends function when run from install/remove
This commit is contained in:
parent
fe7cc39026
commit
bd4a28073b
3
kiss
3
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.
|
||||
|
Loading…
Reference in New Issue
Block a user