summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/MDV/Distribconf.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MDV/Distribconf.pm b/lib/MDV/Distribconf.pm
index 74de631..ea77392 100644
--- a/lib/MDV/Distribconf.pm
+++ b/lib/MDV/Distribconf.pm
@@ -176,6 +176,7 @@ sub new {
root => $path,
infodir => '',
mediadir => '',
+ mediainfodir => '',
cfg => new Config::IniFiles(-default => 'media_info', -allowcontinue => 1),
};
@@ -267,7 +268,7 @@ sub settree {
my ($distrib, $spec) = @_;
if (ref($spec) eq 'HASH') {
- foreach (qw(infodir mediadir)) {
+ foreach (qw(infodir mediadir mediainfodir)) {
$distrib->{$_} = $spec->{$_} || '';
}
} elsif ($spec && $spec =~ /mandrake/i) {