summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-01-14 17:07:28 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-01-14 17:07:58 +0100
commit06d51dbb9e4c3160094b61354115b80f0fc7dae8 (patch)
tree4ec3d307b8a675e00e08d783381283c71e6f59fd /scripts
parent0cd5e85e7ad621223b0787e66d8ad20fb2694135 (diff)
downloadmtk-20170518-06d51dbb9e4c3160094b61354115b80f0fc7dae8.zip
mtk-20170518-06d51dbb9e4c3160094b61354115b80f0fc7dae8.tar.gz
mtk-20170518-06d51dbb9e4c3160094b61354115b80f0fc7dae8.tar.bz2
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')
-rwxr-xr-xscripts/feeds2
1 files changed, 1 insertions, 1 deletions
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);
};