commit 845462826692c7fa6ea024ae077f2535d3b4f6ad
parent 6b1c5d427f9baf74f833e12bfb6a5ac86699c8cf
Author: Dylan Araps <dylan.araps@gmail.com>
Date: Sat, 14 Sep 2019 10:23:58 +0300
kiss: clean up
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/kiss b/kiss
@@ -181,8 +181,7 @@ pkg_depends() {
# Recurse through the dependencies of the child
# packages. Keep doing this.
while read -r dep _; do
- [ "${dep##\#*}" ] || continue
- pkg_depends "$dep" ||:
+ [ "${dep##\#*}" ] && pkg_depends "$dep"
done 2>/dev/null < "$(pkg_find "$1")/depends" ||:
# After child dependencies are added to the list,