[Koha-patches] [PATCH] Bug 10712: Save missing config variables to install log

Colin Campbell colin.campbell at ptfs-europe.com
Mon Aug 12 17:47:14 CEST 2013


The variables for AUTH_INDEX_MODE and ZEBRA_TOKENIZER were not
being saved to the koha_install_log file.
As a result when using the --prev-install-log option in Makefile.PL
the user was still prompted to select these
This patch adds the appropriate variables to the list saved in
the install log
---
 misc/koha-install-log | 2 ++
 rewrite-config.PL     | 1 +
 2 files changed, 3 insertions(+)

diff --git a/misc/koha-install-log b/misc/koha-install-log
index d842484..17dd0da 100644
--- a/misc/koha-install-log
+++ b/misc/koha-install-log
@@ -57,6 +57,8 @@ INSTALL_ZEBRA=__INSTALL_ZEBRA__
 INSTALL_SRU=__INSTALL_SRU__
 INSTALL_PAZPAR2=__INSTALL_PAZPAR2__
 BIB_INDEX_MODE=__BIB_INDEX_MODE__
+AUTH_INDEX_MODE=__AUTH_INDEX_MODE__
+ZEBRA_TOKENIZER=__ZEBRA_TOKENIZER__
 RUN_DATABASE_TESTS=__RUN_DATABASE_TESTS__
 PATH_TO_ZEBRA=__PATH_TO_ZEBRA__
 USE_MEMCACHED=__USE_MEMCACHED__
diff --git a/rewrite-config.PL b/rewrite-config.PL
index 90fd5ff..e903d49 100644
--- a/rewrite-config.PL
+++ b/rewrite-config.PL
@@ -122,6 +122,7 @@ $prefix = $ENV{'INSTALL_BASE'} || "/usr";
   '__ZEBRA_RUN_DIR__' => "$prefix/var/run/zebradb",
   '__ZEBRA_MARC_FORMAT__' => 'marc21',
   '__ZEBRA_LANGUAGE__' => 'en',
+  '__ZEBRA_TOKENIZER__' => 'chr',
   '__ZEBRA_TOKENIZER_STMT__' => 'charmap word-phrase-utf.chr',
   '__ZEBRA_AUTH_CFG__' => 'zebra-authorities.cfg',
   '__ZEBRA_BIB_CFG__' => 'zebra-biblios.cfg',
-- 
1.8.4.rc2.15.g96cb27a



More information about the Koha-patches mailing list