message tweaks if no wrapperr

This commit is contained in:
zzz
2009-05-21 13:12:47 +00:00
parent 4426cc359c
commit d927f8bcb0
2 changed files with 9 additions and 2 deletions

View File

@ -179,7 +179,11 @@ public class UpdateHandler {
restart();
} else {
_log.log(Log.CRIT, "Update was VERIFIED, will be installed at next restart");
_status = "<b>Update downloaded</b><br />Click Restart to Install";
_status = "<b>Update downloaded</b><br />";
if (System.getProperty("wrapper.version") != null)
_status += "Click Restart to install";
else
_status += "Click Shutdown and restart to install";
if (up.newVersion() != null)
_status += " Version " + up.newVersion();
}