From: Felix Fietkau Date: Mon, 24 Jan 2022 12:16:00 +0000 (+0100) Subject: scripts/feeds: fix installing targets without explicitly specifying the feed X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fdedeckeh.git;a=commitdiff_plain;h=0bdf8d12063b9be1cd73798f54a53279d21c9c95 scripts/feeds: fix installing targets without explicitly specifying the feed Add similar code to what is done on packages Signed-off-by: Felix Fietkau --- diff --git a/scripts/feeds b/scripts/feeds index f63b4f0951..7392ddf944 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -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];