indent custom package config code

SVN-Revision: 9472
This commit is contained in:
Felix Fietkau 2007-10-31 23:27:55 +00:00
parent e66a211078
commit 772c6488da

View file

@ -96,7 +96,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); /^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};