Bug 18548: Print usage when missing instance name in koha-create script
authorJosef Moravec <josef.moravec@gmail.com>
Fri, 5 May 2017 10:23:23 +0000 (10:23 +0000)
committerKatrin Fischer <katrin.fischer.83@web.de>
Mon, 5 Jun 2017 12:19:34 +0000 (14:19 +0200)
commit873aca09ae4bb96fd4dd44e1a8034701a43aedb9
treeafb09252ab1526c2c82f2130e01985ddcfce0326
parent8ebbefed7323b303407dc972098a5ef1bd69c518
Bug 18548: Print usage when missing instance name in koha-create script

Test plan:
1. Run: debian/scripts/koha-create --request-db
-> Without patch you see the getent error message
-> With patch you see usage and "Missing instance name" message

Signed-off-by: Dilan Johnpulle <dilan@calyx.net.au>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit d2ed4fadc59260372baedab038d16bd7cb169b1c)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
debian/scripts/koha-create