From: Felix Fietkau Date: Sun, 21 Oct 2007 06:44:06 +0000 (+0000) Subject: remove the dummy profile that was created on targets that have subtargets X-Git-Tag: reboot~27770 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aef9b313b10207e649778819ffa0b886fed3d447;p=oweals%2Fopenwrt.git remove the dummy profile that was created on targets that have subtargets SVN-Revision: 9383 --- diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 7b3b74b3c6..f84bd462fa 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -72,6 +72,7 @@ sub parse_target_metadata() { } close FILE; foreach my $target (@target) { + next if @{$target->{subtargets}} > 0; @{$target->{profiles}} > 0 or $target->{profiles} = [ { id => 'Default',