Working on the installer setting up the right zebra config
Revision of Chris Cormack's original patch to deal with previous moves of config files. Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
3f08fd0131
commit
677f10b597
1 changed files with 11 additions and 2 deletions
13
Makefile.PL
13
Makefile.PL
|
@ -87,6 +87,11 @@ to generate initial configuration files in future.
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
my $message = "What version of MARC marc21 or unimarc?";
|
||||||
|
my $marc_value = prompt($message);
|
||||||
|
$message = "Which language fr or en?";
|
||||||
|
my $lang_value = prompt($message);
|
||||||
|
|
||||||
WriteMakefile(
|
WriteMakefile(
|
||||||
|
|
||||||
NAME => 'koha',
|
NAME => 'koha',
|
||||||
|
@ -239,6 +244,7 @@ excluding non-files and whitespace in filenames.
|
||||||
$result{$src} = '$(INST_LIBDIR)/koha/templates/'.$src;
|
$result{$src} = '$(INST_LIBDIR)/koha/templates/'.$src;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
=pod
|
=pod
|
||||||
|
|
||||||
etc files are copied to /usr/share/koha/etc/
|
etc files are copied to /usr/share/koha/etc/
|
||||||
|
@ -250,8 +256,11 @@ etc files are copied to /usr/share/koha/etc/
|
||||||
$result{$src} = '$(PREFIX)/share/koha/'.$src;
|
$result{$src} = '$(PREFIX)/share/koha/'.$src;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# set up zebra with the appropriate language and marc config
|
||||||
|
$result{"etc/zebradb/lang_defs/sort-string-$lang_value.chr"} = '$(PREFIX)/share/koha/etc/zebradb/etc/sort-string-utf.chr';
|
||||||
|
$result{"etc/zebradb/marc_defs/biblios-$marc_value.abs"} = '$(PREFIX)/share/koha/etc/zebradb/biblios/etc/record.abs';
|
||||||
|
$result{"etc/zebradb/marc_defs/authorities-$marc_value.abs"} = '$(PREFIX)/share/koha/etc/zebradb/authorities/etc/record.abs';
|
||||||
return \%result;
|
return \%result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue