1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-13 10:49:13 +02:00

scripts/feeds: fix installing targets without explicitly specifying the feed

Add similar code to what is done on packages

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2022-01-24 13:16:00 +01:00
parent 1404b3c3e6
commit 0bdf8d1206

View File

@ -499,6 +499,8 @@ sub install_target {
my $feed = shift;
my $name = shift;
$feed = lookup_target($feed, $name);
$installed_targets{$name} and return 0;
$feed = $feed_cache{$feed->[1]}->[2];