Return true on needsUpdate if zip file has been removed.

This commit is contained in:
hns 2002-08-02 13:25:22 +00:00
parent b2862b95bb
commit 6182b9313a

View file

@ -36,7 +36,7 @@ public class ZippedAppFile implements Updatable {
* the file has been modified or deleted.
*/
public boolean needsUpdate () {
return lastmod != file.lastModified ();
return !file.exists () || lastmod != file.lastModified ();
}