Bugzilla – Attachment 28112 Details for
Bug 12216
One should be able to override zebra configuration on a per instance basis
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12216: One should be able to override zebra config
Bug-12216-One-should-be-able-to-override-zebra-con.patch (text/plain), 4.09 KB, created by
Martin Renvoize (ashimema)
on 2014-05-08 15:51:06 UTC
(
hide
)
Description:
Bug 12216: One should be able to override zebra config
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2014-05-08 15:51:06 UTC
Size:
4.09 KB
patch
obsolete
>From fa66ca9b5abc3b66d3061ba883f21d7b28118334 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 8 May 2014 15:48:42 +0000 >Subject: [PATCH] Bug 12216: One should be able to override zebra config > >One should be able to override zebra configuration on a per instance >basis. This patch adds /etc/koha/sites/instance to the 'profilePath' >in the zebra config files such that that location is sources first >for any override config files. >--- > debian/templates/zebra-authorities-dom-site.cfg.in | 2 +- > debian/templates/zebra-authorities-site.cfg.in | 2 +- > debian/templates/zebra-biblios-dom-site.cfg.in | 2 +- > debian/templates/zebra-biblios-site.cfg.in | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/debian/templates/zebra-authorities-dom-site.cfg.in b/debian/templates/zebra-authorities-dom-site.cfg.in >index 524e4fb..490c3e9 100644 >--- a/debian/templates/zebra-authorities-dom-site.cfg.in >+++ b/debian/templates/zebra-authorities-dom-site.cfg.in >@@ -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:/etc/koha/zebradb/authorities/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/authorities:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__:/etc/koha/zebradb/xsl >+profilePath:/etc/koha/sites/__KOHASITE__:/etc/koha/zebradb/authorities/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/authorities:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__:/etc/koha/zebradb/xsl > > encoding: UTF-8 > # modulePath - where to look for loadable zebra modules >diff --git a/debian/templates/zebra-authorities-site.cfg.in b/debian/templates/zebra-authorities-site.cfg.in >index dc67a19..b184222 100644 >--- a/debian/templates/zebra-authorities-site.cfg.in >+++ b/debian/templates/zebra-authorities-site.cfg.in >@@ -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:/etc/koha/zebradb/authorities/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/authorities:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__ >+profilePath:/etc/koha/sites/__KOHASITE__:/etc/koha/zebradb/authorities/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/authorities:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__ > > encoding: UTF-8 > # modulePath - where to look for loadable zebra modules >diff --git a/debian/templates/zebra-biblios-dom-site.cfg.in b/debian/templates/zebra-biblios-dom-site.cfg.in >index 88d0d6d..9628bd0 100644 >--- a/debian/templates/zebra-biblios-dom-site.cfg.in >+++ b/debian/templates/zebra-biblios-dom-site.cfg.in >@@ -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:/etc/koha/zebradb/biblios/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/biblios:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__:/etc/koha/zebradb/xsl >+profilePath:/etc/koha/sites/__KOHASITE__:/etc/koha/zebradb/biblios/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/biblios:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__:/etc/koha/zebradb/xsl > # modulePath - where to look for loadable zebra modules > modulePath: /usr/lib/idzebra-2.0/modules > >diff --git a/debian/templates/zebra-biblios-site.cfg.in b/debian/templates/zebra-biblios-site.cfg.in >index f1cfb07..61dffe8 100644 >--- a/debian/templates/zebra-biblios-site.cfg.in >+++ b/debian/templates/zebra-biblios-site.cfg.in >@@ -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:/etc/koha/zebradb/biblios/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/biblios:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__ >+profilePath:/etc/koha/sites/__KOHASITE__:/etc/koha/zebradb/biblios/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/__ZEBRA_MARC_FORMAT__/biblios:/etc/koha/zebradb/lang_defs/__ZEBRA_LANGUAGE__ > # modulePath - where to look for loadable zebra modules > modulePath: /usr/lib/idzebra-2.0/modules > >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12216
:
28112
|
41297
|
41304