Bugzilla – Attachment 105264 Details for
Bug 25346
Only show warn about existing directory on installing translations when verbose is used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25346: Supress warning message when install dir exists
Bug-25346-Supress-warning-message-when-install-dir.patch (text/plain), 1.38 KB, created by
Katrin Fischer
on 2020-05-22 12:13:20 UTC
(
hide
)
Description:
Bug 25346: Supress warning message when install dir exists
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-05-22 12:13:20 UTC
Size:
1.38 KB
patch
obsolete
>From de94bf0261cbdb47f8637671a700de51097507d7 Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Tue, 19 May 2020 13:21:44 -0300 >Subject: [PATCH] Bug 25346: Supress warning message when install dir exists > >To see it enable verbose mode > >To test: >1) Install lang with install dir > (cd misc/translator; ./tranlste install de-DE) > check message: "de-DE installer dir /...mysql/de-DE already exists." >2) Apply patch >3) Repeat 1, now message is gone >4) Repeat 1 in verbose mode (./translate install de-DE -v) > check the message now appears at the bottom. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > misc/translator/LangInstaller.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/translator/LangInstaller.pm b/misc/translator/LangInstaller.pm >index 7b5e23648b..e3e6ecb6da 100644 >--- a/misc/translator/LangInstaller.pm >+++ b/misc/translator/LangInstaller.pm >@@ -686,7 +686,7 @@ sub install_installer { > my $db_scheme = $self->{context}->config('db_scheme'); > my $langdir = "$intradir/installer/data/$db_scheme/$self->{lang}"; > if ( -d $langdir ) { >- say "$self->{lang} installer dir $langdir already exists.\nDelete it if you want to recreate it."; >+ say "$self->{lang} installer dir $langdir already exists.\nDelete it if you want to recreate it." if $self->{verbose}; > return; > } > >-- >2.11.0
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 25346
:
105104
|
105264
|
105578