Bug 6540 - Followup - koha-create would die without --configfile
authorMagnus Enger <magnus@enger.priv.no>
Mon, 15 Aug 2011 07:00:07 +0000 (09:00 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 23 Aug 2011 03:52:15 +0000 (15:52 +1200)
commit31bb901e2b31748dd86e7da45672c42a5359c5a4
tree181df9834ac0d79c9ce834285fa48e85e9a8811e
parente7cf2223e06d9aea07f2dce6cd6481cbc2ae0d9d
Bug 6540 - Followup - koha-create would die without --configfile

koha-create would fail to check that --configfile was set on the
commandline, before either including it if it existed or dying if
it did not. This patch should make sure the existence of a
configfile is only tested if --config is set.

Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
This should apply against 3.4 and master.
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
debian/scripts/koha-create