Bugzilla – Attachment 4690 Details for
Bug 6540
Add more options to koha-create
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6540 - Make ZEBRA_MARC_FORMAT and ZEBRA_LANGUAGE configurable for koha-create
Bug-6540---Make-ZEBRAMARCFORMAT-and-ZEBRALANGUAGE-.patch (text/plain), 3.67 KB, created by
Robin Sheat
on 2011-07-21 05:38:53 UTC
(
hide
)
Description:
Bug 6540 - Make ZEBRA_MARC_FORMAT and ZEBRA_LANGUAGE configurable for koha-create
Filename:
MIME Type:
Creator:
Robin Sheat
Created:
2011-07-21 05:38:53 UTC
Size:
3.67 KB
patch
obsolete
>From f39d0ced9d3a696c46b3a54c700d038bb5a2559b Mon Sep 17 00:00:00 2001 >From: Magnus Enger <magnus@enger.priv.no> >Date: Sat, 16 Jul 2011 20:58:34 +0200 >Subject: [PATCH] Bug 6540 - Make ZEBRA_MARC_FORMAT and ZEBRA_LANGUAGE configurable for koha-create > >Signed-off-by: Robin Sheat <robin@catalyst.net.nz> >--- > debian/scripts/koha-create | 4 ++++ > debian/templates/zebra-authorities-dom-site.cfg.in | 2 +- > debian/templates/zebra-authorities-site.cfg.in | 2 +- > debian/templates/zebra-biblios-site.cfg.in | 2 +- > 4 files changed, 7 insertions(+), 3 deletions(-) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index e3c73fc..c3bd465 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -36,6 +36,8 @@ generate_config_file() { > -e "s/__OPACSERVER__/$domain/g" \ > -e "s/__INTRASERVER__/$intradomain/g" \ > -e "s/__ZEBRA_PASS__/$zebrapwd/g" \ >+ -e "s/__ZEBRA_MARC_FORMAT__/$ZEBRA_MARC_FORMAT/g" \ >+ -e "s/__ZEBRA_LANGUAGE__/$ZEBRA_LANGUAGE/g" \ > -e "s/__DB_NAME__/$mysqldb/g" \ > -e "s/__DB_HOST__/$mysqlhost/g" \ > -e "s/__DB_USER__/$mysqluser/g" \ >@@ -65,6 +67,8 @@ INTRAPORT="8080" > INTRAPREFIX="" > INTRASUFFIX="" > DEFAULTSQL="" >+ZEBRA_MARC_FORMAT="marc21" >+ZEBRA_LANGUAGE="en" > if [ -e /etc/koha/koha-sites.conf ] > then > . /etc/koha/koha-sites.conf >diff --git a/debian/templates/zebra-authorities-dom-site.cfg.in b/debian/templates/zebra-authorities-dom-site.cfg.in >index 5b8fd7a..524e4fb 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/marc21/authorities:/etc/koha/zebradb/lang_defs/en:/etc/koha/zebradb/xsl >+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 > > 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 01cd347..dc67a19 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/marc21/authorities:/etc/koha/zebradb/lang_defs/en >+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__ > > encoding: UTF-8 > # modulePath - where to look for loadable zebra modules >diff --git a/debian/templates/zebra-biblios-site.cfg.in b/debian/templates/zebra-biblios-site.cfg.in >index fea467f..f1cfb07 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/marc21/biblios:/etc/koha/zebradb/lang_defs/en >+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__ > # modulePath - where to look for loadable zebra modules > modulePath: /usr/lib/idzebra-2.0/modules > >-- >1.7.4.1
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 6540
:
4649
|
4660
|
4677
|
4679
| 4690 |
4691
|
4692
|
4693
|
4694
|
4696
|
5016
|
5100