From 75f95684725403fa9376cf345aa804920f454a61 Mon Sep 17 00:00:00 2001
From: Marc Nause
Date: Tue, 5 Feb 2013 21:02:32 +0100
Subject: [PATCH] *) only install files from the RELEASE directory *) minor
changes
---
htroot/ConfigUpdate_p.java | 2 --
htroot/Steering.html | 7 ++++--
htroot/Steering.java | 15 +++++++----
source/net/yacy/kelondro/util/FileUtils.java | 26 +++++++++++++-------
4 files changed, 32 insertions(+), 18 deletions(-)
diff --git a/htroot/ConfigUpdate_p.java b/htroot/ConfigUpdate_p.java
index 4e0ca6db7..fc4532e8d 100644
--- a/htroot/ConfigUpdate_p.java
+++ b/htroot/ConfigUpdate_p.java
@@ -119,8 +119,6 @@ public class ConfigUpdate_p {
}
} catch (final NullPointerException e) {
sb.getLog().logSevere("AUTO-UPDATE: could not delete release " + release + ": " + e.getMessage());
- } catch (final IOException e) {
- sb.getLog().logSevere("AUTO-UPDATE: could not delete release " + release + ": " + e.getMessage());
}
}
}
diff --git a/htroot/Steering.html b/htroot/Steering.html
index 9f17bf6f6..ed4884320 100644
--- a/htroot/Steering.html
+++ b/htroot/Steering.html
@@ -197,7 +197,7 @@ pVSsUqnIYrFYnpycnJmYmJiQUg4LIU4bhtGfyWQOd3V1nRwfH7d27Ngh4fzerMQl+nWChbEwFsbC
WBgLY2EsjIWxMBbG6z7+PzoY5xKR42VVAAAAAElFTkSuQmCC" width="100" height="100" alt="Kaskelix"/>
#(info)#
No action submitted
- Go back to the Settings page
+ Go back to the Settings page.
::
Your system is not protected by a password
Please go to the User Administration page and set an administration password.
@@ -221,6 +221,9 @@ WBgLY2EsjIWxMBbG6z7+PzoY5xKR42VVAAAAAElFTkSuQmCC" width="100" height="100" alt="
YaCy will be restarted after installation.
- #(/info)#
+::
+ The file you are trying to install is not located in the release directory.
+ Go back to the System Update page.
+#(/info)#