kiss: clean up

This commit is contained in:
Dylan Araps 2019-09-14 10:23:58 +03:00
parent 6b1c5d427f
commit 8454628266
1 changed files with 1 additions and 2 deletions

3
kiss
View File

@ -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,