mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-21 07:09:56 +01:00
Tor config was not being installed for fresh installs.
This commit is contained in:
@@ -235,8 +235,6 @@ class TorPlugin implements DuplexPlugin, EventHandler {
|
|||||||
LOG.warning("Could not make Tor executable");
|
LOG.warning("Could not make Tor executable");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// Create a file to indicate that installation succeeded
|
|
||||||
doneFile.createNewFile();
|
|
||||||
return true;
|
return true;
|
||||||
} catch(IOException e) {
|
} catch(IOException e) {
|
||||||
if(LOG.isLoggable(WARNING)) LOG.log(WARNING, e.toString(), e);
|
if(LOG.isLoggable(WARNING)) LOG.log(WARNING, e.toString(), e);
|
||||||
@@ -247,7 +245,7 @@ class TorPlugin implements DuplexPlugin, EventHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean isConfigInstalled() {
|
private boolean isConfigInstalled() {
|
||||||
return doneFile.exists();
|
return geoIpFile.exists() && configFile.exists() && doneFile.exists();
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean installConfig() {
|
private boolean installConfig() {
|
||||||
|
|||||||
Reference in New Issue
Block a user