[Koha-bugs] [Bug 12372] feature request: debian/scripts/koha-mysql should be able to handle arbitrary mysql arguments.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jun 23 15:06:15 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12372
--- Comment #6 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #5)
> I am not an expert at all of the debian scripts, but it seems that in
> others, there are 2 errors raised if the usage is incorrect:
>
>
> I would suggest to
> die "Missing instance name..."
> if the number of arg is not correct and
> warn "Unknown instance $name."
> if is_instance returns 0.
>
> Ccing Tomas to be sure I am not wrong.
Yeah, Barton, please replicate the structure from scripts like koha-enable
while you are on it. Thanks
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list