[openwrt/openwrt] scripts/feeds: fix install of packages with different source/binary names

LEDE Commits lede-commits at lists.infradead.org
Sun Jan 14 08:10:01 PST 2018


neoraider pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/06d51dbb9e4c3160094b61354115b80f0fc7dae8

commit 06d51dbb9e4c3160094b61354115b80f0fc7dae8
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Sun Jan 14 17:07:28 2018 +0100

    scripts/feeds: fix install of packages with different source/binary names
    
    The logic for choice between source and binary packages was reversed.
    
    Fixes: 52719c2b67af "metadata: scripts/feeds: distinguish between source
    and binary packages, resolve virtual dependencies"
    Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
---
 scripts/feeds | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/feeds b/scripts/feeds
index 4ee5a33..f49cdb3 100755
--- a/scripts/feeds
+++ b/scripts/feeds
@@ -580,7 +580,7 @@ sub install_target_or_package {
 	};
 
 	my $this_feed_src = lookup_src($feed, $name);
-	$this_feed_src or do {
+	$this_feed_src and do {
 		return install_src($this_feed_src, $name, $force);
 	};
 



More information about the lede-commits mailing list