mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-08 22:29:33 +00:00
Fix
This commit is contained in:
parent
cd878d938c
commit
5d155e7930
@ -301,8 +301,6 @@ public class Server {
|
|||||||
// Always copy the config files, as they may have changed. Othweise potentially stale Solr configuration is being used.
|
// Always copy the config files, as they may have changed. Othweise potentially stale Solr configuration is being used.
|
||||||
if (!solr4Home.toFile().exists()) {
|
if (!solr4Home.toFile().exists()) {
|
||||||
Files.createDirectory(solr4Home);
|
Files.createDirectory(solr4Home);
|
||||||
} else {
|
|
||||||
FileUtil.deleteDir(solr4Home.toFile());
|
|
||||||
}
|
}
|
||||||
Files.copy(Paths.get(solr4Folder.getAbsolutePath(), "solr", "solr.xml"), solr4Home.resolve("solr.xml"), REPLACE_EXISTING); //NON-NLS
|
Files.copy(Paths.get(solr4Folder.getAbsolutePath(), "solr", "solr.xml"), solr4Home.resolve("solr.xml"), REPLACE_EXISTING); //NON-NLS
|
||||||
Files.copy(Paths.get(solr4Folder.getAbsolutePath(), "solr", "zoo.cfg"), solr4Home.resolve("zoo.cfg"), REPLACE_EXISTING); //NON-NLS
|
Files.copy(Paths.get(solr4Folder.getAbsolutePath(), "solr", "zoo.cfg"), solr4Home.resolve("zoo.cfg"), REPLACE_EXISTING); //NON-NLS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user