Bugzilla – Attachment 60348 Details for
Bug 16749
Additional fixes for debian scripts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16749: Use is_instance to make sure the dev instance exist
Bug-16749-Use-isinstance-to-make-sure-the-dev-inst.patch (text/plain), 876 bytes, created by
Jonathan Druart
on 2017-02-16 14:08:02 UTC
(
hide
)
Description:
Bug 16749: Use is_instance to make sure the dev instance exist
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-02-16 14:08:02 UTC
Size:
876 bytes
patch
obsolete
>From d24e87ded143a9b62a1159f1c0ecc6869028d047 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 16 Feb 2017 12:57:17 +0000 >Subject: [PATCH] Bug 16749: Use is_instance to make sure the dev instance > exist > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > debian/scripts/koha-translate | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/debian/scripts/koha-translate b/debian/scripts/koha-translate >index 2d72c6e..91f59e9 100755 >--- a/debian/scripts/koha-translate >+++ b/debian/scripts/koha-translate >@@ -202,10 +202,10 @@ set_action() > > set_dev() > { >- if echo $1 | egrep -q "^[^-]"; then >+ if is_instance $1; then > dev=$1 > else >- die "Error: dev parameter with wrong instance name" >+ die "Error: Invalid instance name $1" > fi > } > >-- >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 16749
:
52561
|
55490
|
60064
|
60103
|
60106
|
60109
|
60110
|
60111
|
60112
|
60113
|
60114
|
60125
|
60126
|
60129
|
60130
|
60131
|
60132
|
60139
|
60140
|
60193
|
60194
|
60195
|
60196
|
60197
|
60335
|
60340
|
60343
|
60344
|
60345
|
60346
|
60347
| 60348 |
60349
|
60350