diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-01-14 17:07:28 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-01-14 17:07:58 +0100 |
commit | 06d51dbb9e4c3160094b61354115b80f0fc7dae8 (patch) | |
tree | 4ec3d307b8a675e00e08d783381283c71e6f59fd /scripts/feeds | |
parent | 0cd5e85e7ad621223b0787e66d8ad20fb2694135 (diff) | |
download | upstream-06d51dbb9e4c3160094b61354115b80f0fc7dae8.tar.gz upstream-06d51dbb9e4c3160094b61354115b80f0fc7dae8.tar.bz2 upstream-06d51dbb9e4c3160094b61354115b80f0fc7dae8.zip |
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@universe-factory.net>
Diffstat (limited to 'scripts/feeds')
-rwxr-xr-x | scripts/feeds | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/feeds b/scripts/feeds index 4ee5a33991..f49cdb3e45 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); }; |