From 418d898560d9b56ef4506be33265d4d5143df318 Mon Sep 17 00:00:00 2001 From: Mason James Date: Wed, 24 May 2017 15:41:14 +1200 Subject: [PATCH] Revert "Bug 16733: Adjust koha-indexer" This reverts commit f7773cafb962e086109094f3108ccfb98b60490f. --- debian/scripts/koha-indexer | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/debian/scripts/koha-indexer b/debian/scripts/koha-indexer index 60b551a0aa..01e544a411 100755 --- a/debian/scripts/koha-indexer +++ b/debian/scripts/koha-indexer @@ -177,19 +177,12 @@ while [ $# -gt 0 ]; do done -# Optionally use alternative paths for a dev install -adjust_paths_dev_install $1 - # Check if an alternate indexer has been set if [ ! -z $ALTERNATE_INDEXER_DAEMON ]; then INDEXER_DAEMON="$ALTERNATE_INDEXER_DAEMON" else # We default to rebuild_zebra.pl if no alternate indexer set - if [ "$DEV_INSTALL" = "" ]; then - INDEXER_DAEMON="${KOHA_HOME}/bin/migration_tools/rebuild_zebra.pl" - else - INDEXER_DAEMON="${KOHA_HOME}/misc/migration_tools/rebuild_zebra.pl" - fi + INDEXER_DAEMON="${KOHA_HOME}/bin/migration_tools/rebuild_zebra.pl" fi if [ $INDEXER_TIMEOUT -lt 1 ]; then @@ -202,7 +195,10 @@ if [ -z $INDEXER_PARAMS ]; then INDEXER_PARAMS="-daemon -sleep $INDEXER_TIMEOUT" fi -# PERL5LIB has been read from etc/default +if [ -z $PERL5LIB ]; then + PERL5LIB="/usr/share/koha/lib" +fi + export PERL5LIB if [ $# -gt 0 ]; then -- 2.39.5