Browse Source

installer: further moves of zebra configuration files

All Zebra config files are now installed by default.  The
ones specific to a MARC format or language are selected
by appropriate values in profilePath in zebra-biblios.cfg
and zebra-authorities.cfg.  Changing the MARC format
or indexing language can now be done by editing
profilePath.
3.0.x
Galen Charlton 17 years ago
parent
commit
0f5fa1bf2d
  1. 0
      etc/zebradb/lang_defs/en/sort-string.chr
  2. 0
      etc/zebradb/lang_defs/fr/sort-string.chr
  3. 0
      etc/zebradb/marc_defs/marc21/authorities.abs
  4. 0
      etc/zebradb/marc_defs/marc21/biblios.abs
  5. 0
      etc/zebradb/marc_defs/unimarc/authorities.abs
  6. 0
      etc/zebradb/marc_defs/unimarc/biblios.abs
  7. 2
      etc/zebradb/zebra-authorities.cfg
  8. 2
      etc/zebradb/zebra-biblios.cfg
  9. 2
      rewrite-config.PL

0
etc/zebradb/lang_defs/sort-string-en.chr → etc/zebradb/lang_defs/en/sort-string.chr

0
etc/zebradb/lang_defs/sort-string-fr.chr → etc/zebradb/lang_defs/fr/sort-string.chr

0
etc/zebradb/marc_defs/authorities-marc21.abs → etc/zebradb/marc_defs/marc21/authorities.abs

0
etc/zebradb/marc_defs/biblios-marc21.abs → etc/zebradb/marc_defs/marc21/biblios.abs

0
etc/zebradb/marc_defs/authorities-unimarc.abs → etc/zebradb/marc_defs/unimarc/authorities.abs

0
etc/zebradb/marc_defs/biblios-unimarc.abs → etc/zebradb/marc_defs/unimarc/biblios.abs

2
etc/zebradb/zebra-authorities.cfg

@ -4,7 +4,7 @@
# $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
#
# Where are the config files located?
profilePath:__ZEBRA_CONF_DIR__/authorities/etc:__ZEBRA_CONF_DIR__/etc
profilePath:__ZEBRA_CONF_DIR__/authorities/etc:__ZEBRA_CONF_DIR__/etc:__ZEBRA_CONF_DIR__/marc_defs/__ZEBRA_MARC_FORMAT__:__ZEBRA_CONF_DIR__/lang_defs/__ZEBRA_LANGUAGE__
encoding: UTF-8
# modulePath - where to look for loadable zebra modules

2
etc/zebradb/zebra-biblios.cfg

@ -3,7 +3,7 @@
# $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
#
# Where are the config files located?
profilePath:__ZEBRA_CONF_DIR__/biblios/etc:__ZEBRA_CONF_DIR__/zebradb/etc
profilePath:__ZEBRA_CONF_DIR__/biblios/etc:__ZEBRA_CONF_DIR__/etc:__ZEBRA_CONF_DIR__/marc_defs/__ZEBRA_MARC_FORMAT__:__ZEBRA_CONF_DIR__/lang_defs/__ZEBRA_LANGUAGE__
# modulePath - where to look for loadable zebra modules
modulePath: /usr/lib/idzebra-2.0/modules

2
rewrite-config.PL

@ -102,6 +102,8 @@ $prefix = $ENV{'INSTALL_BASE'} || "/usr";
'__ZEBRA_LOCK_DIR__' => "$prefix/var/lock/zebradb",
'__ZEBRA_DATA_DIR__' => "$prefix/var/lib/zebradb",
'__ZEBRA_RUN_DIR__' => "$prefix/var/run/zebradb",
'__ZEBRA_MARC_FORMAT__' => 'marc21',
'__ZEBRA_LANGUAGE__' => 'en',
);
# Override configuration from the environment

Loading…
Cancel
Save