1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 16:40:07 -07:00

kiss: Fixed issue with dependencies not in repository.

This commit is contained in:
Dylan Araps 2019-06-18 11:53:24 +03:00
parent 3f38626e30
commit 906b3f5353

4
kiss
View File

@ -46,7 +46,7 @@ pkg_setup() {
} }
pkg_depends() { pkg_depends() {
while read -r dep opt; do [ -f depends ] && while read -r dep opt; do
pkg_list "$dep" || { pkg_list "$dep" || {
[ "$1" = install ] && [ "$opt" = make ] && continue [ "$1" = install ] && [ "$opt" = make ] && continue
@ -57,7 +57,7 @@ pkg_depends() {
pkg_depends ;; pkg_depends ;;
esac esac
} }
done 2>/dev/null < depends done < depends
} }
pkg_sources() { pkg_sources() {