mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-20 00:15:56 +02:00
fix a package metadata parsing bug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14735 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7f3b481ec9
commit
a328633ffe
@ -105,7 +105,7 @@ sub parse_package_metadata($) {
|
|||||||
$type =~ /ipkg/ and $pkg->{tristate} = 1;
|
$type =~ /ipkg/ and $pkg->{tristate} = 1;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
/^Config: \s*(.*)\s*$/ and $pkg->{config} = "$1\n".get_multiline(*FILE, "\t");
|
/^Config:\s*(.*)\s*$/ and $pkg->{config} = "$1\n".get_multiline(*FILE, "\t");
|
||||||
/^Prereq-Check:/ and $pkg->{prereq} = 1;
|
/^Prereq-Check:/ and $pkg->{prereq} = 1;
|
||||||
/^Preconfig:\s*(.+)\s*$/ and do {
|
/^Preconfig:\s*(.+)\s*$/ and do {
|
||||||
my $pkgname = $pkg->{name};
|
my $pkgname = $pkg->{name};
|
||||||
|
Loading…
Reference in New Issue
Block a user