diff --git a/C4/Installer.pm b/C4/Installer.pm index 723d47227b..ffab0ed76a 100644 --- a/C4/Installer.pm +++ b/C4/Installer.pm @@ -370,7 +370,7 @@ sub load_sql_in_order { ; my $localization_file = C4::Context->config('intranetdir') . "/installer/data/$self->{dbms}/localization/$langchoice/custom.sql"; - if ( $langchoice ne 'en' and -f $localization_file ) { + if ( -f $localization_file ) { push @fnames, $localization_file; } foreach my $file (@fnames) { diff --git a/installer/data/mysql/localization/en/custom.sql b/installer/data/mysql/localization/en/custom.sql new file mode 100644 index 0000000000..c632ef064e --- /dev/null +++ b/installer/data/mysql/localization/en/custom.sql @@ -0,0 +1,2 @@ +-- custom.sql, English edition +-- You may want to add SQL statements here to customize your Koha install