kiss: revert remove unneeded subshell

This commit is contained in:
Dylan Araps 2021-07-03 15:04:14 +00:00
parent 15f73d7601
commit 65474c56e3
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

2
kiss
View File

@ -377,7 +377,7 @@ pkg_depends() {
# dependencies are listed first and then the parents in reverse order. # dependencies are listed first and then the parents in reverse order.
contains "$deps" "$1" || { contains "$deps" "$1" || {
# Filter out non-explicit, aleady installed dependencies. # Filter out non-explicit, aleady installed dependencies.
[ "$3" ] && [ -z "$2" ] && pkg_list "$1" >/dev/null 2>&1 && return [ "$3" ] && [ -z "$2" ] && (pkg_list "$1" >/dev/null 2>&1) && return
# Detect circular dependencies and bail out. # Detect circular dependencies and bail out.
# Looks for multiple repeating patterns of (dep dep_parent) (5 is max). # Looks for multiple repeating patterns of (dep dep_parent) (5 is max).