When installing a language that is already present on the system, this error is displayed: Install messages (de_DE) de-DE installer dir /home/vagrant/kohaclone/installer/data/mysql/de-DE already exists. Delete it if you want to recreate it. To test: - kshell - cd misc/translator - perl translate install de-DE and maybe a second time: - perl translate install de-DE
Created attachment 105104 [details] [review] 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.
(In reply to Katrin Fischer from comment #0) > When installing a language that is already present on the system, this error > is displayed: > It's not an error but a warning, can be suppressed by this patch.
Created attachment 105264 [details] [review] 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>
Created attachment 105578 [details] [review] 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>
Pushed to master for 20.11, thanks to everybody involved!
backported to 20.05.x for 20.05.01
doesn't apply cleanly, please rebase if needed on 19.11.x