diff options
author | Felix Fietkau <nbd@nbd.name> | 2022-01-24 13:16:00 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2022-01-24 13:29:05 +0100 |
commit | 0bdf8d12063b9be1cd73798f54a53279d21c9c95 (patch) | |
tree | e462410b03e2ae73d3b6f1487d122f7ffe39918a | |
parent | 1404b3c3e6ac602887d4ba4854902d1db99871d3 (diff) | |
download | upstream-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>
-rwxr-xr-x | scripts/feeds | 2 |
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]; |