瀏覽代碼

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

Add similar code to what is done on packages

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 3 年之前
父節點
當前提交
0bdf8d1206
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      scripts/feeds

+ 2 - 0
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];