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:
parent
a9fef310d1
commit
57815ca9e2
3
kiss
3
kiss
@ -42,14 +42,13 @@ pkg_setup() {
|
|||||||
|
|
||||||
pkg_depends() {
|
pkg_depends() {
|
||||||
while read -r dep; do
|
while read -r dep; do
|
||||||
pkg_list "$dep" || {
|
pkg_list "$dep" ||
|
||||||
case $missing in
|
case $missing in
|
||||||
*" $dep,"*) ;;
|
*" $dep,"*) ;;
|
||||||
*) missing="$missing $dep,"
|
*) missing="$missing $dep,"
|
||||||
pkg_setup "$dep"
|
pkg_setup "$dep"
|
||||||
pkg_depends ;;
|
pkg_depends ;;
|
||||||
esac
|
esac
|
||||||
}
|
|
||||||
done 2>/dev/null < depends
|
done 2>/dev/null < depends
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user