From 1ed7321ec76912d607b447f1aae70d00722cb52a Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 11 Jun 2013 11:13:59 -0300 Subject: [PATCH 3/3] Bug 10447 - Language definitions for 'ru' and 'uk' are not available during install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch add the option to choose 'ru' and 'uk' during install for zebra. Should work for a tarball install, and make 'ru' and 'uk' available for using with koha-create too. Regards To+ Sponsored-by: Universidad Nacional de Córdoba Signed-off-by: Chris Cormack --- Makefile.PL | 2 +- debian/docs/koha-create.xml | 2 +- debian/scripts/koha-create | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index d02a944..faedf83 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -477,7 +477,7 @@ my %valid_config_values = ( 'AUTH_INDEX_MODE' => { 'grs1' => 1, 'dom' => 1 }, 'BIB_INDEX_MODE' => { 'grs1' => 1, 'dom' => 1 }, 'ZEBRA_MARC_FORMAT' => { 'marc21' => 1, 'normarc' => 1, 'unimarc' => 1 }, # FIXME should generate from contents of distributation - 'ZEBRA_LANGUAGE' => { 'en' => 1, 'es' => 1, 'fr' => 1, 'nb' => 1 }, # FIXME should generate from contents of distribution + 'ZEBRA_LANGUAGE' => { 'en' => 1, 'es' => 1, 'fr' => 1, 'nb' => 1, 'ru' => 1, 'uk' => 1 }, # FIXME should generate from contents of distribution 'ZEBRA_TOKENIZER' => { chr => 1, icu => 1 }, 'RUN_DATABASE_TESTS' => { 'yes' => 1, 'no' => 1 }, 'USE_MEMCACHED' => { 'yes' => 1, 'no' => 1 }, diff --git a/debian/docs/koha-create.xml b/debian/docs/koha-create.xml index d879a69..491da62 100644 --- a/debian/docs/koha-create.xml +++ b/debian/docs/koha-create.xml @@ -26,7 +26,7 @@ koha-create ||| marc21|normarc|unimarc - en|nb|fr + en|es|fr|nb|ru|uk /path/to/some.sql /path/to/config /path/to/passwd diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create index 830c747..a0a830a 100755 --- a/debian/scripts/koha-create +++ b/debian/scripts/koha-create @@ -21,7 +21,7 @@ set -e usage="Usage: $0 [--create-db|--request-db|--populate-db|--use-db] \ [--marcflavor marc21|normarc|unimarc] \ - [--zebralang en|nb|fr|es] \ + [--zebralang en|es|fr|nb|ru|uk] \ [--defaultsql /path/to/some.sql] \ [--configfile /path/to/config] [--passwdfile /path/to/passwd] \ [--database database] [--adminuser n] instancename" -- 1.7.10.4