aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-01-24 13:16:00 +0100
committerFelix Fietkau <nbd@nbd.name>2022-01-24 13:29:05 +0100
commit0bdf8d12063b9be1cd73798f54a53279d21c9c95 (patch)
treee462410b03e2ae73d3b6f1487d122f7ffe39918a /scripts
parent1404b3c3e6ac602887d4ba4854902d1db99871d3 (diff)
downloadupstream-0bdf8d12063b9be1cd73798f54a53279d21c9c95.tar.gz
upstream-0bdf8d12063b9be1cd73798f54a53279d21c9c95.tar.bz2
upstream-0bdf8d12063b9be1cd73798f54a53279d21c9c95.zip
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/feeds2
1 files changed, 2 insertions, 0 deletions
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];