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 ff39e346ea98988b9def135cfb56219f0a3b6d5a..917fbec0792302d3f731b13e5b8ac205ad995911 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};