From f937d41dbfb5440a0451fbc9cf648339f1566bd3 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 16 May 2013 11:11:52 -0300 Subject: [PATCH] Bug 10259 - koha-*-zebra scripts are expected to run without warnings if no instance name passed MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Jared Camins-Esakov --- debian/scripts/koha-restart-zebra | 2 +- debian/scripts/koha-start-zebra | 2 +- debian/scripts/koha-stop-zebra | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/scripts/koha-restart-zebra b/debian/scripts/koha-restart-zebra index 7464d6db38..024251e95f 100755 --- a/debian/scripts/koha-restart-zebra +++ b/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 "$@" diff --git a/debian/scripts/koha-start-zebra b/debian/scripts/koha-start-zebra index b5e7c6ca75..222b0ef543 100755 --- a/debian/scripts/koha-start-zebra +++ b/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 "$@" diff --git a/debian/scripts/koha-stop-zebra b/debian/scripts/koha-stop-zebra index ae15cc7f51..e60f2b3789 100755 --- a/debian/scripts/koha-stop-zebra +++ b/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 "$@" -- 2.20.1