From 807174e33d3e516b60ed03a201a3b23ef82bc041 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=UTF-8 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 --- 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 7464d6d..024251e 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 b5e7c6c..222b0ef 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 ae15cc7..e60f2b3 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 "$@" -- 1.7.10.4