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)
committerMason James <mtj@kohaaloha.com>
Sat, 29 Jul 2017 18:26:07 +0000 (06:26 +1200)
commit2a8513525751c19bddaa5028b38ba4d1fa1f2442
treeadc1c34ec8fa09eb95affc0447c83ae65175dc33
parentc246ccb0dd11b059420a1e2b1b0b1ca9572bfdf7
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: Mason James <mtj@kohaaloha.com>
debian/scripts/koha-create