forked from I2P_Developers/i2p.i2p
* Update:
- Fix problems where a requested unsigned update would actually
kick off a signed update
- Fix problem when policy set to notify, and clicking
check for update, incorrectly causing unsigned update download
and bad messages
- Verify zip integrity of unsigned updates
- Move zip files to router dir, not base dir
- More tweaks and cleanup
This commit is contained in:
@@ -188,8 +188,8 @@ public class NewsFetcher implements Runnable, EepGet.StatusListener {
|
||||
if (ms <= 0) return;
|
||||
if (modtime > ms) {
|
||||
_unsignedUpdateAvailable = true;
|
||||
// '07-Jul 21:09' with month name in the system locale
|
||||
_unsignedUpdateVersion = (new SimpleDateFormat("dd-MMM HH:mm")).format(new Date(modtime));
|
||||
// '07-Jul 21:09 UTC' with month name in the system locale
|
||||
_unsignedUpdateVersion = (new SimpleDateFormat("dd-MMM HH:mm")).format(new Date(modtime)) + " UTC";
|
||||
if (shouldInstall())
|
||||
fetchUnsigned();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user