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> Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
a17c0475d8
commit
7eb471fcdb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue