We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15f8819 commit 91799d5Copy full SHA for 91799d5
1 file changed
scripts/metadata.pm
@@ -89,11 +89,11 @@ sub parse_target_metadata($) {
89
};
90
push @{$target->{profiles}}, $profile;
91
92
- /^Target-Profile-Name:\s*(.+)\s*$/ and do {
+ /^Target-Profile-Name:\s*(.+)\s*$/ and $profile->{name} = $1;
93
+ /^Target-Profile-Priority:\s*(\d+)\s*$/ and do {
94
+ $profile->{priority} = $1;
95
$target->{sort} = 1;
- $profile->{name} = $1;
96
- /^Target-Profile-Priority:\s*(\d+)\s*$/ and $profile->{priority} = $1;
97
/^Target-Profile-Packages:\s*(.*)\s*$/ and $profile->{packages} = [ split(/\s+/, $1) ];
98
/^Target-Profile-Description:\s*(.*)\s*/ and $profile->{desc} = get_multiline(*FILE);
99
/^Target-Profile-Config:/ and $profile->{config} = get_multiline(*FILE, "\t");
0 commit comments