1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-24 16:10:05 -07:00

depends: Clean up

This commit is contained in:
Dylan Araps 2019-06-14 13:28:34 +03:00
parent a9fef310d1
commit 57815ca9e2

3
kiss
View File

@ -42,14 +42,13 @@ pkg_setup() {
pkg_depends() {
while read -r dep; do
pkg_list "$dep" || {
pkg_list "$dep" ||
case $missing in
*" $dep,"*) ;;
*) missing="$missing $dep,"
pkg_setup "$dep"
pkg_depends ;;
esac
}
done 2>/dev/null < depends
}