From 7988048ca96d94eca88917bb21838746162fac3b Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Sat, 18 Aug 2007 21:33:39 -0500 Subject: [PATCH] moving sql data to installer directory Signed-off-by: Chris Cormack --- C4/Languages.pm | 2 +- .../data/en/mandatory/auth-types.sql | 0 .../data/en/mandatory/auth-types.txt | 0 .../data/en/mandatory/authorities_normal_marc21.sql | 0 .../data/en/mandatory/authorities_normal_marc21.txt | 0 .../data/en/mandatory/marc21_framework_DEFAULT.sql | 0 .../data/en/mandatory/marc21_framework_DEFAULT.txt | 0 .../data/en/mandatory/stopwords.sql | 0 .../data/en/mandatory/stopwords.txt | 0 .../data/en/mandatory/sysprefs.sql | 0 .../data/en/mandatory/sysprefs.txt | 0 .../data/en/mandatory/userflags.sql | 0 .../data/en/mandatory/userflags.txt | 0 .../sql-datas => installer/data}/en/optional/auth_val.sql | 0 .../sql-datas => installer/data}/en/optional/auth_val.txt | 0 .../data}/en/optional/borrower_categories.sql | 0 .../data}/en/optional/borrower_categories.txt | 0 .../data}/en/optional/itemtypes_default.sql | 0 .../data}/en/optional/itemtypes_default.txt | 0 .../sql-datas => installer/data}/en/optional/library.sql | 0 .../sql-datas => installer/data}/en/optional/library.txt | 0 .../data}/en/optional/marc21_holdings_coded_values.sql | 0 .../data}/en/optional/marc21_holdings_coded_values.txt | 0 .../data}/en/optional/marc21_simple_bib_frameworks.sql | 0 .../data}/en/optional/marc21_simple_bib_frameworks.txt | 0 .../data}/fr/mandatory/authorites_norme_unimarc.sql | 0 .../data}/fr/mandatory/authorites_norme_unimarc.txt | 0 .../data}/fr/mandatory/framework_DEFAULT.sql | 0 .../data}/fr/mandatory/framework_DEFAULT.txt | 0 .../data}/fr/mandatory/stopwords.sql | 0 .../data}/fr/mandatory/stopwords.txt | 0 .../data}/fr/mandatory/unimarc_standard_systemprefs.sql | 0 .../data}/fr/mandatory/unimarc_standard_systemprefs.txt | 0 .../data}/fr/optional/framework_ANCI.sql | 0 .../data}/fr/optional/framework_ANCI.txt | 0 .../data}/fr/optional/framework_BASE.sql | 0 .../data}/fr/optional/framework_BASE.txt | 0 .../data}/fr/optional/framework_CART.sql | 0 .../data}/fr/optional/framework_CART.txt | 0 .../data}/fr/optional/framework_ELEC.sql | 0 .../data}/fr/optional/framework_ELEC.txt | 0 .../data}/fr/optional/framework_MICR.sql | 0 .../data}/fr/optional/framework_MICR.txt | 0 .../data}/fr/optional/framework_MONO.sql | 0 .../data}/fr/optional/framework_MONO.txt | 0 .../data}/fr/optional/framework_PERI.sql | 0 .../data}/fr/optional/framework_PERI.txt | 0 .../data}/fr/optional/framework_PROJ.sql | 0 .../data}/fr/optional/framework_PROJ.txt | 0 .../data}/fr/optional/framework_TIRE.sql | 0 .../data}/fr/optional/framework_TIRE.txt | 0 installer/install.pl | 8 ++++---- 52 files changed, 5 insertions(+), 5 deletions(-) rename misc/sql-datas/en/mandatory/01_auth_types.sql => installer/data/en/mandatory/auth-types.sql (100%) rename misc/sql-datas/en/mandatory/01_auth_types.txt => installer/data/en/mandatory/auth-types.txt (100%) rename misc/sql-datas/en/mandatory/02_authorities_normal_marc21.sql => installer/data/en/mandatory/authorities_normal_marc21.sql (100%) rename misc/sql-datas/en/mandatory/02_authorities_normal_marc21.txt => installer/data/en/mandatory/authorities_normal_marc21.txt (100%) rename misc/sql-datas/en/mandatory/03_marc21_framework_DEFAULT.sql => installer/data/en/mandatory/marc21_framework_DEFAULT.sql (100%) rename misc/sql-datas/en/mandatory/03_marc21_framework_DEFAULT.txt => installer/data/en/mandatory/marc21_framework_DEFAULT.txt (100%) rename misc/sql-datas/en/mandatory/04_stopwords.sql => installer/data/en/mandatory/stopwords.sql (100%) rename misc/sql-datas/en/mandatory/04_stopwords.txt => installer/data/en/mandatory/stopwords.txt (100%) rename misc/sql-datas/en/mandatory/05_sysprefs.sql => installer/data/en/mandatory/sysprefs.sql (100%) rename misc/sql-datas/en/mandatory/05_sysprefs.txt => installer/data/en/mandatory/sysprefs.txt (100%) rename misc/sql-datas/en/mandatory/06_userflags.sql => installer/data/en/mandatory/userflags.sql (100%) rename misc/sql-datas/en/mandatory/06_userflags.txt => installer/data/en/mandatory/userflags.txt (100%) rename {misc/sql-datas => installer/data}/en/optional/auth_val.sql (100%) rename {misc/sql-datas => installer/data}/en/optional/auth_val.txt (100%) rename {misc/sql-datas => installer/data}/en/optional/borrower_categories.sql (100%) rename {misc/sql-datas => installer/data}/en/optional/borrower_categories.txt (100%) rename {misc/sql-datas => installer/data}/en/optional/itemtypes_default.sql (100%) rename {misc/sql-datas => installer/data}/en/optional/itemtypes_default.txt (100%) rename {misc/sql-datas => installer/data}/en/optional/library.sql (100%) rename {misc/sql-datas => installer/data}/en/optional/library.txt (100%) rename {misc/sql-datas => installer/data}/en/optional/marc21_holdings_coded_values.sql (100%) rename {misc/sql-datas => installer/data}/en/optional/marc21_holdings_coded_values.txt (100%) rename {misc/sql-datas => installer/data}/en/optional/marc21_simple_bib_frameworks.sql (100%) rename {misc/sql-datas => installer/data}/en/optional/marc21_simple_bib_frameworks.txt (100%) rename {misc/sql-datas => installer/data}/fr/mandatory/authorites_norme_unimarc.sql (100%) rename {misc/sql-datas => installer/data}/fr/mandatory/authorites_norme_unimarc.txt (100%) rename {misc/sql-datas => installer/data}/fr/mandatory/framework_DEFAULT.sql (100%) rename {misc/sql-datas => installer/data}/fr/mandatory/framework_DEFAULT.txt (100%) rename {misc/sql-datas => installer/data}/fr/mandatory/stopwords.sql (100%) rename {misc/sql-datas => installer/data}/fr/mandatory/stopwords.txt (100%) rename {misc/sql-datas => installer/data}/fr/mandatory/unimarc_standard_systemprefs.sql (100%) rename {misc/sql-datas => installer/data}/fr/mandatory/unimarc_standard_systemprefs.txt (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_ANCI.sql (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_ANCI.txt (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_BASE.sql (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_BASE.txt (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_CART.sql (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_CART.txt (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_ELEC.sql (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_ELEC.txt (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_MICR.sql (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_MICR.txt (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_MONO.sql (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_MONO.txt (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_PERI.sql (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_PERI.txt (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_PROJ.sql (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_PROJ.txt (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_TIRE.sql (100%) rename {misc/sql-datas => installer/data}/fr/optional/framework_TIRE.txt (100%) diff --git a/C4/Languages.pm b/C4/Languages.pm index 9444c63ec5..047e9a9d75 100644 --- a/C4/Languages.pm +++ b/C4/Languages.pm @@ -69,7 +69,7 @@ sub getFrameworkLanguages { my @languages; # find the available directory names - my $dir=C4::Context->config('intranetdir')."/misc/sql-datas/"; + my $dir=C4::Context->config('intranetdir')."/installer/data/"; opendir (MYDIR,$dir); my @listdir= grep { !/^\.|CVS/ && -d "$dir/$_"} readdir(MYDIR); closedir MYDIR; diff --git a/misc/sql-datas/en/mandatory/01_auth_types.sql b/installer/data/en/mandatory/auth-types.sql similarity index 100% rename from misc/sql-datas/en/mandatory/01_auth_types.sql rename to installer/data/en/mandatory/auth-types.sql diff --git a/misc/sql-datas/en/mandatory/01_auth_types.txt b/installer/data/en/mandatory/auth-types.txt similarity index 100% rename from misc/sql-datas/en/mandatory/01_auth_types.txt rename to installer/data/en/mandatory/auth-types.txt diff --git a/misc/sql-datas/en/mandatory/02_authorities_normal_marc21.sql b/installer/data/en/mandatory/authorities_normal_marc21.sql similarity index 100% rename from misc/sql-datas/en/mandatory/02_authorities_normal_marc21.sql rename to installer/data/en/mandatory/authorities_normal_marc21.sql diff --git a/misc/sql-datas/en/mandatory/02_authorities_normal_marc21.txt b/installer/data/en/mandatory/authorities_normal_marc21.txt similarity index 100% rename from misc/sql-datas/en/mandatory/02_authorities_normal_marc21.txt rename to installer/data/en/mandatory/authorities_normal_marc21.txt diff --git a/misc/sql-datas/en/mandatory/03_marc21_framework_DEFAULT.sql b/installer/data/en/mandatory/marc21_framework_DEFAULT.sql similarity index 100% rename from misc/sql-datas/en/mandatory/03_marc21_framework_DEFAULT.sql rename to installer/data/en/mandatory/marc21_framework_DEFAULT.sql diff --git a/misc/sql-datas/en/mandatory/03_marc21_framework_DEFAULT.txt b/installer/data/en/mandatory/marc21_framework_DEFAULT.txt similarity index 100% rename from misc/sql-datas/en/mandatory/03_marc21_framework_DEFAULT.txt rename to installer/data/en/mandatory/marc21_framework_DEFAULT.txt diff --git a/misc/sql-datas/en/mandatory/04_stopwords.sql b/installer/data/en/mandatory/stopwords.sql similarity index 100% rename from misc/sql-datas/en/mandatory/04_stopwords.sql rename to installer/data/en/mandatory/stopwords.sql diff --git a/misc/sql-datas/en/mandatory/04_stopwords.txt b/installer/data/en/mandatory/stopwords.txt similarity index 100% rename from misc/sql-datas/en/mandatory/04_stopwords.txt rename to installer/data/en/mandatory/stopwords.txt diff --git a/misc/sql-datas/en/mandatory/05_sysprefs.sql b/installer/data/en/mandatory/sysprefs.sql similarity index 100% rename from misc/sql-datas/en/mandatory/05_sysprefs.sql rename to installer/data/en/mandatory/sysprefs.sql diff --git a/misc/sql-datas/en/mandatory/05_sysprefs.txt b/installer/data/en/mandatory/sysprefs.txt similarity index 100% rename from misc/sql-datas/en/mandatory/05_sysprefs.txt rename to installer/data/en/mandatory/sysprefs.txt diff --git a/misc/sql-datas/en/mandatory/06_userflags.sql b/installer/data/en/mandatory/userflags.sql similarity index 100% rename from misc/sql-datas/en/mandatory/06_userflags.sql rename to installer/data/en/mandatory/userflags.sql diff --git a/misc/sql-datas/en/mandatory/06_userflags.txt b/installer/data/en/mandatory/userflags.txt similarity index 100% rename from misc/sql-datas/en/mandatory/06_userflags.txt rename to installer/data/en/mandatory/userflags.txt diff --git a/misc/sql-datas/en/optional/auth_val.sql b/installer/data/en/optional/auth_val.sql similarity index 100% rename from misc/sql-datas/en/optional/auth_val.sql rename to installer/data/en/optional/auth_val.sql diff --git a/misc/sql-datas/en/optional/auth_val.txt b/installer/data/en/optional/auth_val.txt similarity index 100% rename from misc/sql-datas/en/optional/auth_val.txt rename to installer/data/en/optional/auth_val.txt diff --git a/misc/sql-datas/en/optional/borrower_categories.sql b/installer/data/en/optional/borrower_categories.sql similarity index 100% rename from misc/sql-datas/en/optional/borrower_categories.sql rename to installer/data/en/optional/borrower_categories.sql diff --git a/misc/sql-datas/en/optional/borrower_categories.txt b/installer/data/en/optional/borrower_categories.txt similarity index 100% rename from misc/sql-datas/en/optional/borrower_categories.txt rename to installer/data/en/optional/borrower_categories.txt diff --git a/misc/sql-datas/en/optional/itemtypes_default.sql b/installer/data/en/optional/itemtypes_default.sql similarity index 100% rename from misc/sql-datas/en/optional/itemtypes_default.sql rename to installer/data/en/optional/itemtypes_default.sql diff --git a/misc/sql-datas/en/optional/itemtypes_default.txt b/installer/data/en/optional/itemtypes_default.txt similarity index 100% rename from misc/sql-datas/en/optional/itemtypes_default.txt rename to installer/data/en/optional/itemtypes_default.txt diff --git a/misc/sql-datas/en/optional/library.sql b/installer/data/en/optional/library.sql similarity index 100% rename from misc/sql-datas/en/optional/library.sql rename to installer/data/en/optional/library.sql diff --git a/misc/sql-datas/en/optional/library.txt b/installer/data/en/optional/library.txt similarity index 100% rename from misc/sql-datas/en/optional/library.txt rename to installer/data/en/optional/library.txt diff --git a/misc/sql-datas/en/optional/marc21_holdings_coded_values.sql b/installer/data/en/optional/marc21_holdings_coded_values.sql similarity index 100% rename from misc/sql-datas/en/optional/marc21_holdings_coded_values.sql rename to installer/data/en/optional/marc21_holdings_coded_values.sql diff --git a/misc/sql-datas/en/optional/marc21_holdings_coded_values.txt b/installer/data/en/optional/marc21_holdings_coded_values.txt similarity index 100% rename from misc/sql-datas/en/optional/marc21_holdings_coded_values.txt rename to installer/data/en/optional/marc21_holdings_coded_values.txt diff --git a/misc/sql-datas/en/optional/marc21_simple_bib_frameworks.sql b/installer/data/en/optional/marc21_simple_bib_frameworks.sql similarity index 100% rename from misc/sql-datas/en/optional/marc21_simple_bib_frameworks.sql rename to installer/data/en/optional/marc21_simple_bib_frameworks.sql diff --git a/misc/sql-datas/en/optional/marc21_simple_bib_frameworks.txt b/installer/data/en/optional/marc21_simple_bib_frameworks.txt similarity index 100% rename from misc/sql-datas/en/optional/marc21_simple_bib_frameworks.txt rename to installer/data/en/optional/marc21_simple_bib_frameworks.txt diff --git a/misc/sql-datas/fr/mandatory/authorites_norme_unimarc.sql b/installer/data/fr/mandatory/authorites_norme_unimarc.sql similarity index 100% rename from misc/sql-datas/fr/mandatory/authorites_norme_unimarc.sql rename to installer/data/fr/mandatory/authorites_norme_unimarc.sql diff --git a/misc/sql-datas/fr/mandatory/authorites_norme_unimarc.txt b/installer/data/fr/mandatory/authorites_norme_unimarc.txt similarity index 100% rename from misc/sql-datas/fr/mandatory/authorites_norme_unimarc.txt rename to installer/data/fr/mandatory/authorites_norme_unimarc.txt diff --git a/misc/sql-datas/fr/mandatory/framework_DEFAULT.sql b/installer/data/fr/mandatory/framework_DEFAULT.sql similarity index 100% rename from misc/sql-datas/fr/mandatory/framework_DEFAULT.sql rename to installer/data/fr/mandatory/framework_DEFAULT.sql diff --git a/misc/sql-datas/fr/mandatory/framework_DEFAULT.txt b/installer/data/fr/mandatory/framework_DEFAULT.txt similarity index 100% rename from misc/sql-datas/fr/mandatory/framework_DEFAULT.txt rename to installer/data/fr/mandatory/framework_DEFAULT.txt diff --git a/misc/sql-datas/fr/mandatory/stopwords.sql b/installer/data/fr/mandatory/stopwords.sql similarity index 100% rename from misc/sql-datas/fr/mandatory/stopwords.sql rename to installer/data/fr/mandatory/stopwords.sql diff --git a/misc/sql-datas/fr/mandatory/stopwords.txt b/installer/data/fr/mandatory/stopwords.txt similarity index 100% rename from misc/sql-datas/fr/mandatory/stopwords.txt rename to installer/data/fr/mandatory/stopwords.txt diff --git a/misc/sql-datas/fr/mandatory/unimarc_standard_systemprefs.sql b/installer/data/fr/mandatory/unimarc_standard_systemprefs.sql similarity index 100% rename from misc/sql-datas/fr/mandatory/unimarc_standard_systemprefs.sql rename to installer/data/fr/mandatory/unimarc_standard_systemprefs.sql diff --git a/misc/sql-datas/fr/mandatory/unimarc_standard_systemprefs.txt b/installer/data/fr/mandatory/unimarc_standard_systemprefs.txt similarity index 100% rename from misc/sql-datas/fr/mandatory/unimarc_standard_systemprefs.txt rename to installer/data/fr/mandatory/unimarc_standard_systemprefs.txt diff --git a/misc/sql-datas/fr/optional/framework_ANCI.sql b/installer/data/fr/optional/framework_ANCI.sql similarity index 100% rename from misc/sql-datas/fr/optional/framework_ANCI.sql rename to installer/data/fr/optional/framework_ANCI.sql diff --git a/misc/sql-datas/fr/optional/framework_ANCI.txt b/installer/data/fr/optional/framework_ANCI.txt similarity index 100% rename from misc/sql-datas/fr/optional/framework_ANCI.txt rename to installer/data/fr/optional/framework_ANCI.txt diff --git a/misc/sql-datas/fr/optional/framework_BASE.sql b/installer/data/fr/optional/framework_BASE.sql similarity index 100% rename from misc/sql-datas/fr/optional/framework_BASE.sql rename to installer/data/fr/optional/framework_BASE.sql diff --git a/misc/sql-datas/fr/optional/framework_BASE.txt b/installer/data/fr/optional/framework_BASE.txt similarity index 100% rename from misc/sql-datas/fr/optional/framework_BASE.txt rename to installer/data/fr/optional/framework_BASE.txt diff --git a/misc/sql-datas/fr/optional/framework_CART.sql b/installer/data/fr/optional/framework_CART.sql similarity index 100% rename from misc/sql-datas/fr/optional/framework_CART.sql rename to installer/data/fr/optional/framework_CART.sql diff --git a/misc/sql-datas/fr/optional/framework_CART.txt b/installer/data/fr/optional/framework_CART.txt similarity index 100% rename from misc/sql-datas/fr/optional/framework_CART.txt rename to installer/data/fr/optional/framework_CART.txt diff --git a/misc/sql-datas/fr/optional/framework_ELEC.sql b/installer/data/fr/optional/framework_ELEC.sql similarity index 100% rename from misc/sql-datas/fr/optional/framework_ELEC.sql rename to installer/data/fr/optional/framework_ELEC.sql diff --git a/misc/sql-datas/fr/optional/framework_ELEC.txt b/installer/data/fr/optional/framework_ELEC.txt similarity index 100% rename from misc/sql-datas/fr/optional/framework_ELEC.txt rename to installer/data/fr/optional/framework_ELEC.txt diff --git a/misc/sql-datas/fr/optional/framework_MICR.sql b/installer/data/fr/optional/framework_MICR.sql similarity index 100% rename from misc/sql-datas/fr/optional/framework_MICR.sql rename to installer/data/fr/optional/framework_MICR.sql diff --git a/misc/sql-datas/fr/optional/framework_MICR.txt b/installer/data/fr/optional/framework_MICR.txt similarity index 100% rename from misc/sql-datas/fr/optional/framework_MICR.txt rename to installer/data/fr/optional/framework_MICR.txt diff --git a/misc/sql-datas/fr/optional/framework_MONO.sql b/installer/data/fr/optional/framework_MONO.sql similarity index 100% rename from misc/sql-datas/fr/optional/framework_MONO.sql rename to installer/data/fr/optional/framework_MONO.sql diff --git a/misc/sql-datas/fr/optional/framework_MONO.txt b/installer/data/fr/optional/framework_MONO.txt similarity index 100% rename from misc/sql-datas/fr/optional/framework_MONO.txt rename to installer/data/fr/optional/framework_MONO.txt diff --git a/misc/sql-datas/fr/optional/framework_PERI.sql b/installer/data/fr/optional/framework_PERI.sql similarity index 100% rename from misc/sql-datas/fr/optional/framework_PERI.sql rename to installer/data/fr/optional/framework_PERI.sql diff --git a/misc/sql-datas/fr/optional/framework_PERI.txt b/installer/data/fr/optional/framework_PERI.txt similarity index 100% rename from misc/sql-datas/fr/optional/framework_PERI.txt rename to installer/data/fr/optional/framework_PERI.txt diff --git a/misc/sql-datas/fr/optional/framework_PROJ.sql b/installer/data/fr/optional/framework_PROJ.sql similarity index 100% rename from misc/sql-datas/fr/optional/framework_PROJ.sql rename to installer/data/fr/optional/framework_PROJ.sql diff --git a/misc/sql-datas/fr/optional/framework_PROJ.txt b/installer/data/fr/optional/framework_PROJ.txt similarity index 100% rename from misc/sql-datas/fr/optional/framework_PROJ.txt rename to installer/data/fr/optional/framework_PROJ.txt diff --git a/misc/sql-datas/fr/optional/framework_TIRE.sql b/installer/data/fr/optional/framework_TIRE.sql similarity index 100% rename from misc/sql-datas/fr/optional/framework_TIRE.sql rename to installer/data/fr/optional/framework_TIRE.sql diff --git a/misc/sql-datas/fr/optional/framework_TIRE.txt b/installer/data/fr/optional/framework_TIRE.txt similarity index 100% rename from misc/sql-datas/fr/optional/framework_TIRE.txt rename to installer/data/fr/optional/framework_TIRE.txt diff --git a/installer/install.pl b/installer/install.pl index bab2e6710b..623d0e04e9 100755 --- a/installer/install.pl +++ b/installer/install.pl @@ -390,7 +390,7 @@ elsif ( $step && $step == 3 ) { # (note that the term "selectframeworks is not correct. The user can select various files, not only frameworks) #Framework Selection -#sql data for import are supposed to be located in misc/sql-datas// +#sql data for import are supposed to be located in installer/data// # Where is en|fr or any international abbreviation (provided language hash is updated... This will be a problem with internationlisation.) # Where is a category of requirement : required, recommended optional # level should contain : @@ -401,7 +401,7 @@ elsif ( $step && $step == 3 ) { # Framework Selection is achieved through checking boxes. my $langchoice = $query->param('fwklanguage'); $langchoice = $query->cookie('KohaOpacLanguage') unless ($langchoice); - my $dir = C4::Context->config('intranetdir') . "/misc/sql-datas/"; + my $dir = C4::Context->config('intranetdir') . "/installer/data/"; opendir( MYDIR, $dir ); my @listdir = grep { !/^\.|CVS/ && -d "$dir/$_" } readdir(MYDIR); closedir MYDIR; @@ -419,7 +419,7 @@ elsif ( $step && $step == 3 ) { $template->param( "languagelist" => \@languages ); undef $/; $dir = - C4::Context->config('intranetdir') . "/misc/sql-datas/$langchoice"; + C4::Context->config('intranetdir') . "/installer/data/$langchoice"; opendir( MYDIR, $dir ) || warn "no open $dir"; @listdir = grep { !/^\.|CVS/ && -d "$dir/$_" } readdir(MYDIR); closedir MYDIR; @@ -438,7 +438,7 @@ elsif ( $step && $step == 3 ) { foreach my $requirelevel (@listdir) { $dir = C4::Context->config('intranetdir') - . "/misc/sql-datas/$langchoice/$requirelevel"; + . "/installer/data/$langchoice/$requirelevel"; opendir( MYDIR, $dir ); my @listname = grep { !/^\.|CVS/ && -f "$dir/$_" && $_ =~ m/\.sql$/ } -- 2.39.5