Bugzilla – Attachment 4649 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]
Proposed patch
0001-Bug-6540-Make-ZEBRA_MARC_FORMAT-and-ZEBRA_LANGUAGE-c.patch (text/plain), 3.62 KB, created by
Magnus Enger
on 2011-07-17 21:49:06 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2011-07-17 21:49:06 UTC
Size:
3.62 KB
patch
obsolete
>From 6bcb0d5ade4f5e1a99721b3cdd81c60ac8bb35e7 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 > >--- > 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