From 3ac77186cd885c0455ca2b13dfaa90d9d32e8573 Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Fri, 5 May 2017 10:23:23 +0000 Subject: [PATCH] Bug 18548: Print usage when missing instance name in koha-create script My apologies Josef, you are correct. It works prefectly with the right command. Signed-off-by: Dilan Johnpulle --- debian/scripts/koha-create | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create index b21e472..ba4f043 100755 --- a/debian/scripts/koha-create +++ b/debian/scripts/koha-create @@ -550,6 +550,8 @@ fi set_authorities_indexing_mode $AUTHORITIES_INDEXING_MODE $ZEBRA_MARC_FORMAT +[ $# -ge 1 ] || ( usage ; die "Missing instance name..." ) + name="$1" set_upload_path $name -- 2.1.4