indent custom package config code
authorFelix Fietkau <nbd@openwrt.org>
Wed, 31 Oct 2007 23:27:55 +0000 (23:27 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 31 Oct 2007 23:27:55 +0000 (23:27 +0000)
SVN-Revision: 9472

scripts/metadata.pm

index ff39e34..917fbec 100644 (file)
@@ -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};