installer: further moves of zebra configuration files
authorGalen Charlton <galen.charlton@liblime.com>
Tue, 11 Dec 2007 17:21:15 +0000 (11:21 -0600)
committerGalen Charlton <galen.charlton@liblime.com>
Mon, 17 Dec 2007 15:13:52 +0000 (09:13 -0600)
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.

etc/zebradb/lang_defs/en/sort-string.chr [moved from etc/zebradb/lang_defs/sort-string-en.chr with 100% similarity]
etc/zebradb/lang_defs/fr/sort-string.chr [moved from etc/zebradb/lang_defs/sort-string-fr.chr with 100% similarity]
etc/zebradb/marc_defs/marc21/authorities.abs [moved from etc/zebradb/marc_defs/authorities-marc21.abs with 100% similarity]
etc/zebradb/marc_defs/marc21/biblios.abs [moved from etc/zebradb/marc_defs/biblios-marc21.abs with 100% similarity]
etc/zebradb/marc_defs/unimarc/authorities.abs [moved from etc/zebradb/marc_defs/authorities-unimarc.abs with 100% similarity]
etc/zebradb/marc_defs/unimarc/biblios.abs [moved from etc/zebradb/marc_defs/biblios-unimarc.abs with 100% similarity]
etc/zebradb/zebra-authorities.cfg
etc/zebradb/zebra-biblios.cfg
rewrite-config.PL

index 745ef66..1d41a2c 100644 (file)
@@ -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
index b791067..c2e045d 100644 (file)
@@ -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
 
index 11d4c0f..8a27873 100644 (file)
@@ -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