From 3b03d9979718ee0b193bfd7c96f13d298e47abed Mon Sep 17 00:00:00 2001 From: allo Date: Fri, 27 May 2005 14:42:54 +0000 Subject: [PATCH] Bugfix: Wrong Path of DATA/LOCALE Dir git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@182 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/yacy.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/yacy.java b/source/yacy.java index c4991d222..84d95a6f4 100644 --- a/source/yacy.java +++ b/source/yacy.java @@ -261,7 +261,7 @@ public final class yacy { } //Copy the shipped locales into DATA - File localesPath = new File(sb.getRootPath(), sb.getConfig("localesPath", "DATA/LOCALES")); + File localesPath = new File(sb.getRootPath(), sb.getConfig("localesPath", "DATA/LOCALE")); File defaultLocalesPath = new File(sb.getRootPath(), "locales"); try{ @@ -271,6 +271,7 @@ public final class yacy { if(defaultLocales[i].getName().endsWith(".lng")) serverFileUtils.copy(defaultLocales[i], new File(localesPath, defaultLocales[i].getName())); } + serverLog.logInfo("STARTUP", "Copied the default lokales to DATA/LOCALE"); }catch(NullPointerException e){ serverLog.logError("STARTUP", "Nullpointer Exception while copying the default Locales"); }