View | Details | Raw Unified | Return to bug 6540
Collapse All | Expand All

(-)a/debian/scripts/koha-create (+4 lines)
Lines 36-41 generate_config_file() { Link Here
36
        -e "s/__OPACSERVER__/$domain/g" \
36
        -e "s/__OPACSERVER__/$domain/g" \
37
        -e "s/__INTRASERVER__/$intradomain/g" \
37
        -e "s/__INTRASERVER__/$intradomain/g" \
38
        -e "s/__ZEBRA_PASS__/$zebrapwd/g" \
38
        -e "s/__ZEBRA_PASS__/$zebrapwd/g" \
39
        -e "s/__ZEBRA_MARC_FORMAT__/$ZEBRA_MARC_FORMAT/g" \
40
        -e "s/__ZEBRA_LANGUAGE__/$ZEBRA_LANGUAGE/g" \
39
        -e "s/__DB_NAME__/$mysqldb/g" \
41
        -e "s/__DB_NAME__/$mysqldb/g" \
40
        -e "s/__DB_HOST__/$mysqlhost/g" \
42
        -e "s/__DB_HOST__/$mysqlhost/g" \
41
        -e "s/__DB_USER__/$mysqluser/g" \
43
        -e "s/__DB_USER__/$mysqluser/g" \
Lines 65-70 INTRAPORT="8080" Link Here
65
INTRAPREFIX=""
67
INTRAPREFIX=""
66
INTRASUFFIX=""
68
INTRASUFFIX=""
67
DEFAULTSQL=""
69
DEFAULTSQL=""
70
ZEBRA_MARC_FORMAT="marc21"
71
ZEBRA_LANGUAGE="en"
68
if [ -e /etc/koha/koha-sites.conf ]
72
if [ -e /etc/koha/koha-sites.conf ]
69
then
73
then
70
    . /etc/koha/koha-sites.conf
74
    . /etc/koha/koha-sites.conf
(-)a/debian/templates/zebra-authorities-dom-site.cfg.in (-1 / +1 lines)
Lines 4-10 Link Here
4
# $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
4
# $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
5
#
5
#
6
# Where are the config files located?
6
# Where are the config files located?
7
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
7
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
8
8
9
encoding: UTF-8
9
encoding: UTF-8
10
# modulePath - where to look for loadable zebra modules
10
# modulePath - where to look for loadable zebra modules
(-)a/debian/templates/zebra-authorities-site.cfg.in (-1 / +1 lines)
Lines 4-10 Link Here
4
# $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
4
# $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
5
#
5
#
6
# Where are the config files located?
6
# Where are the config files located?
7
profilePath:/etc/koha/zebradb/authorities/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/marc21/authorities:/etc/koha/zebradb/lang_defs/en
7
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__
8
8
9
encoding: UTF-8
9
encoding: UTF-8
10
# modulePath - where to look for loadable zebra modules
10
# modulePath - where to look for loadable zebra modules
(-)a/debian/templates/zebra-biblios-site.cfg.in (-2 / +1 lines)
Lines 3-9 Link Here
3
# $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
3
# $Id: zebra.cfg,v 1.1.2.2 2006/05/09 12:03:16 rangi Exp $
4
#
4
#
5
# Where are the config files located?
5
# Where are the config files located?
6
profilePath:/etc/koha/zebradb/biblios/etc:/etc/koha/zebradb/etc:/etc/koha/zebradb/marc_defs/marc21/biblios:/etc/koha/zebradb/lang_defs/en
6
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__
7
# modulePath - where to look for loadable zebra modules
7
# modulePath - where to look for loadable zebra modules
8
modulePath: /usr/lib/idzebra-2.0/modules
8
modulePath: /usr/lib/idzebra-2.0/modules
9
9
10
- 

Return to bug 6540