mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 00:20:05 -07:00
depends: Use continue
This commit is contained in:
parent
694e4a6063
commit
aabaa1aed0
2
kiss
2
kiss
@ -43,7 +43,7 @@ pkg_setup() {
|
|||||||
pkg_depends() {
|
pkg_depends() {
|
||||||
while read -r dep opt; do
|
while read -r dep opt; do
|
||||||
pkg_list "$dep" || {
|
pkg_list "$dep" || {
|
||||||
[ "$1" = install ] && [ "$opt" = make ] && return
|
[ "$1" = install ] && [ "$opt" = make ] && continue
|
||||||
|
|
||||||
case $missing in
|
case $missing in
|
||||||
*" $dep${opt:+ ($opt)},"*) ;;
|
*" $dep${opt:+ ($opt)},"*) ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user