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

LEDE Commits lede-commits at lists.infradead.org
Mon Jan 24 04:29:38 PST 2022


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/0bdf8d12063b9be1cd73798f54a53279d21c9c95

commit 0bdf8d12063b9be1cd73798f54a53279d21c9c95
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Jan 24 13:16:00 2022 +0100

    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 at nbd.name>
---
 scripts/feeds | 2 ++
 1 file changed, 2 insertions(+)

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];



More information about the lede-commits mailing list