mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
Fixed spelling mistake omiting -> omitting in debug messages in ConfigUpdate_p.java and Switchboard.java
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7280 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
fb92f9ae8e
commit
caabebf9be
|
@ -126,10 +126,10 @@ public class ConfigUpdate_p {
|
||||||
prop.putHTML("candeploy_autoUpdate_downloadedRelease", updateVersion.getName());
|
prop.putHTML("candeploy_autoUpdate_downloadedRelease", updateVersion.getName());
|
||||||
final boolean devenvironment = new File(sb.getAppPath(), ".svn").exists();
|
final boolean devenvironment = new File(sb.getAppPath(), ".svn").exists();
|
||||||
if (devenvironment) {
|
if (devenvironment) {
|
||||||
sb.getLog().logInfo("AUTO-UPDATE: omiting update because this is a development environment");
|
sb.getLog().logInfo("AUTO-UPDATE: omitting update because this is a development environment");
|
||||||
prop.put("candeploy_autoUpdate", "3");
|
prop.put("candeploy_autoUpdate", "3");
|
||||||
} else if ((downloaded == null) || (!downloaded.exists()) || (downloaded.length() == 0)) {
|
} else if ((downloaded == null) || (!downloaded.exists()) || (downloaded.length() == 0)) {
|
||||||
sb.getLog().logInfo("AUTO-UPDATE: omiting update because download failed (file cannot be found, is too small or signature was bad)");
|
sb.getLog().logInfo("AUTO-UPDATE: omitting update because download failed (file cannot be found, is too small or signature was bad)");
|
||||||
prop.put("candeploy_autoUpdate", "4");
|
prop.put("candeploy_autoUpdate", "4");
|
||||||
} else {
|
} else {
|
||||||
yacyRelease.deployRelease(downloaded);
|
yacyRelease.deployRelease(downloaded);
|
||||||
|
|
|
@ -1645,9 +1645,9 @@ public final class Switchboard extends serverSwitch {
|
||||||
final File downloaded = updateVersion.downloadRelease();
|
final File downloaded = updateVersion.downloadRelease();
|
||||||
final boolean devenvironment = new File(this.getAppPath(), ".svn").exists();
|
final boolean devenvironment = new File(this.getAppPath(), ".svn").exists();
|
||||||
if (devenvironment) {
|
if (devenvironment) {
|
||||||
log.logInfo("AUTO-UPDATE: omiting update because this is a development environment");
|
log.logInfo("AUTO-UPDATE: omitting update because this is a development environment");
|
||||||
} else if ((downloaded == null) || (!downloaded.exists()) || (downloaded.length() == 0)) {
|
} else if ((downloaded == null) || (!downloaded.exists()) || (downloaded.length() == 0)) {
|
||||||
log.logInfo("AUTO-UPDATE: omiting update because download failed (file cannot be found, is too small or signature is bad)");
|
log.logInfo("AUTO-UPDATE: omitting update because download failed (file cannot be found, is too small or signature is bad)");
|
||||||
} else {
|
} else {
|
||||||
yacyRelease.deployRelease(downloaded);
|
yacyRelease.deployRelease(downloaded);
|
||||||
terminate(10, "auto-update to install " + downloaded.getName());
|
terminate(10, "auto-update to install " + downloaded.getName());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user