Browse Source

Bug 10259 - koha-*-zebra scripts are expected to run without warnings if no instance name passed

Commented out the code that checks for intance name parameters on the zebra service handling scripts.
It restores the original behaviour, while leaving error checking code.

Regards
To+

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
new/bootstrap-opac
Tomás Cohen Arazi 10 years ago
committed by Jared Camins-Esakov
parent
commit
f937d41dbf
  1. 2
      debian/scripts/koha-restart-zebra
  2. 2
      debian/scripts/koha-start-zebra
  3. 2
      debian/scripts/koha-stop-zebra

2
debian/scripts/koha-restart-zebra

@ -134,7 +134,7 @@ EOF
}
# Parse command line.
[ $# -ge 1 ] || ( usage ; die "Missing instance name..." )
#[ $# -ge 1 ] || ( usage ; die "Missing instance name..." )
# Loop through the instance names
for name in "$@"

2
debian/scripts/koha-start-zebra

@ -108,7 +108,7 @@ EOF
}
# Parse command line.
[ $# -ge 1 ] || ( usage ; die "Missing instance name..." )
#[ $# -ge 1 ] || ( usage ; die "Missing instance name..." )
# Loop through the instance names
for name in "$@"

2
debian/scripts/koha-stop-zebra

@ -109,7 +109,7 @@ EOF
}
# Parse command line.
[ $# -ge 1 ] || ( usage ; die "Missing instance name..." )
#[ $# -ge 1 ] || ( usage ; die "Missing instance name..." )
# Loop through the instance names
for name in "$@"

Loading…
Cancel
Save