Bugzilla – Attachment 63159 Details for
Bug 18548
running koha-create --request-db without an instance name should abort
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18548: Print usage when missing instance name in koha-create script
Bug-18548-Print-usage-when-missing-instance-name-i.patch (text/plain), 917 bytes, created by
Josef Moravec
on 2017-05-05 10:23:17 UTC
(
hide
)
Description:
Bug 18548: Print usage when missing instance name in koha-create script
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2017-05-05 10:23:17 UTC
Size:
917 bytes
patch
obsolete
>From d4eb6d8d7dd8788f30a50ddc0624ca395940530d Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Fri, 5 May 2017 10:23:23 +0000 >Subject: [PATCH] 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 >--- > debian/scripts/koha-create | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index b21e472..291715f 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -552,6 +552,10 @@ set_authorities_indexing_mode $AUTHORITIES_INDEXING_MODE $ZEBRA_MARC_FORMAT > > name="$1" > >+if [ "$name" = "" ]; then >+ usage ; die "Missing instance name" >+fi >+ > set_upload_path $name > > if [ "$USE_MEMCACHED" = "yes" ]; then >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18548
:
63159
|
63278
|
63319
|
63495
|
63581