mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
indent custom package config code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9472 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
23a812767b
commit
314a8d75d0
@ -96,7 +96,7 @@ sub parse_package_metadata($) {
|
||||
$type =~ /ipkg/ and $pkg->{tristate} = 1;
|
||||
}
|
||||
};
|
||||
/^Config: \s*(.*)\s*$/ and $pkg->{config} = "$1\n".get_multiline(*FILE);
|
||||
/^Config: \s*(.*)\s*$/ and $pkg->{config} = "$1\n".get_multiline(*FILE, "\t");
|
||||
/^Prereq-Check:/ and $pkg->{prereq} = 1;
|
||||
/^Preconfig:\s*(.+)\s*$/ and do {
|
||||
my $pkgname = $pkg->{name};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user