Bug 18069: Remove residue of rebuild_zebra -x
Bug 17731 removed the -x option of rebuild_zebra but koha-rebuild-zebra still cals the script with this option. "Warning: You passed -x which is already the default and is now deprecated" Test plan: sudo koha-rebuild-zebra -f should no longer raise the warning Signed-off-by: Mason James <mtj@kohaaloha.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
parent
5823d4ca6a
commit
fe898bc641
1 changed files with 1 additions and 7 deletions
8
debian/scripts/koha-rebuild-zebra
vendored
8
debian/scripts/koha-rebuild-zebra
vendored
|
@ -84,8 +84,6 @@ is to do an incremental rebuild.
|
|||
|
||||
Usage: $scriptname [options] instancename1 instancename2...
|
||||
Options:
|
||||
--usmarc|-u Runs the process as USMARC rather than
|
||||
the default of MARCXML.
|
||||
--authorities|-a Only run process for authorities.
|
||||
--biblios|-b Only run process for biblios.
|
||||
--full|-f Does a reindex of the whole collection.
|
||||
|
@ -101,7 +99,6 @@ EOF
|
|||
|
||||
# Default parameters
|
||||
opt_idx="-z"
|
||||
opt_xml="-x"
|
||||
opt_verbose=""
|
||||
opts_other=""
|
||||
biblios_only="no"
|
||||
|
@ -127,9 +124,6 @@ while [ -n "$*" ]; do
|
|||
-a|--authorities)
|
||||
toggle_authorities_only
|
||||
;;
|
||||
-u|--usmarc)
|
||||
opt_xml=""
|
||||
;;
|
||||
-f|--full)
|
||||
full_reindex="yes"
|
||||
opt_idx="-r"
|
||||
|
@ -173,7 +167,7 @@ do
|
|||
if is_instance $name; then
|
||||
if [ "$biblios" = "yes" ]; then
|
||||
if ! run_rebuild_zebra $name \
|
||||
-b $opt_verbose $opt_idx $opt_xml $opts_other; then
|
||||
-b $opt_verbose $opt_idx $opts_other; then
|
||||
warn "Something went wrong rebuilding biblio indexes for $name"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue