From 4c4817bf92fdd255e4e2388668b4896a28411b55 Mon Sep 17 00:00:00 2001 From: Brian Harrington Date: Mon, 2 Mar 2009 16:08:13 -0500 Subject: [PATCH] bug 2924 fixed rebuild_zebra.pl to work when export is skipped reindexing now occurs if there are $num_records_exported or if $skip_export is set Signed-off-by: Galen Charlton Signed-off-by: Henri-Damien LAURENT --- misc/migration_tools/rebuild_zebra.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/migration_tools/rebuild_zebra.pl b/misc/migration_tools/rebuild_zebra.pl index 5e6d985c4c..e6ad84e9dc 100755 --- a/misc/migration_tools/rebuild_zebra.pl +++ b/misc/migration_tools/rebuild_zebra.pl @@ -209,7 +209,7 @@ sub index_records { if $num_records_exported; } else { do_indexing($record_type, 'update', "$directory/$record_type", $reset, $noshadow, $record_fmt, $zebraidx_log_opt) - if $num_records_exported; + if ($num_records_exported or $skip_export); } } -- 2.39.5