Bug 32356: Install installer translated files on update
If the installer files exist for a given language, the translate script won't update it. We should get a confirmation from Bernardo (author of bug 24262), but I don't understand why it could be needed (side-effects?) Test plan: Installer several times the same language, drop the DB and run the installer+onboarding process. Check files installed by the installer (yaml for notice templates, biblio frameworks) have inserted the data properly in DB. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> (cherry picked from commitaa3444505f) Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com> (cherry picked from commit27d128c3ab) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> (cherry picked from commit1c19bb0532) Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
This commit is contained in:
parent
3b053b0d79
commit
0d73f1b9a2
|
|
@ -375,10 +375,6 @@ sub install_installer {
|
|||
my $intradir = C4::Context->config('intranetdir');
|
||||
my $db_scheme = C4::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." if $self->{verbose};
|
||||
return;
|
||||
}
|
||||
|
||||
say "Install installer files\n" if $self->{verbose};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue