Changeset d927f8b


Ignore:
Timestamp:
May 21, 2009 1:12:47 PM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
79954ce
Parents:
4426cc3
Message:

message tweaks if no wrapperr

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/UpdateHandler.java

    r4426cc3 rd927f8b  
    180180                } else {
    181181                    _log.log(Log.CRIT, "Update was VERIFIED, will be installed at next restart");
    182                     _status = "<b>Update downloaded</b><br />Click Restart to Install";
     182                    _status = "<b>Update downloaded</b><br />";
     183                    if (System.getProperty("wrapper.version") != null)
     184                        _status += "Click Restart to install";
     185                    else
     186                        _status += "Click Shutdown and restart to install";
    183187                    if (up.newVersion() != null)
    184188                        _status += " Version " + up.newVersion();
  • router/java/src/net/i2p/router/Router.java

    r4426cc3 rd927f8b  
    10301030                updateFile.deleteOnExit();
    10311031            }
    1032             System.out.println("INFO: Restarting after update");
     1032            if (System.getProperty("wrapper.version") != null)
     1033                System.out.println("INFO: Restarting after update");
     1034            else
     1035                System.out.println("WARNING: Exiting after update, restart I2P");
    10331036            System.exit(EXIT_HARD_RESTART);
    10341037        }
Note: See TracChangeset for help on using the changeset viewer.