|
|
|
@ -404,6 +404,7 @@ public final class yacy {
|
|
|
|
|
}catch(NullPointerException e){
|
|
|
|
|
serverLog.logSevere("STARTUP", "Nullpointer Exception while copying the default Locales");
|
|
|
|
|
}
|
|
|
|
|
if(defaultSkinsPath.exists()){
|
|
|
|
|
final String[] skinFiles = listManager.getDirListing(defaultSkinsPath.getAbsolutePath());
|
|
|
|
|
skinsPath.mkdirs();
|
|
|
|
|
for(int i=0;i<skinFiles.length;i++){
|
|
|
|
@ -411,6 +412,7 @@ public final class yacy {
|
|
|
|
|
serverFileUtils.copy(new File(defaultSkinsPath, skinFiles[i]), new File(skinsPath, skinFiles[i]));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//regenerate Locales from Translationlist, if needed
|
|
|
|
|
final String lang = sb.getConfig("htLocaleSelection", "");
|
|
|
|
|