mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
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>
This commit is contained in:
parent
0cd5e85e7a
commit
06d51dbb9e
@ -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);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user