Always install a (valid) _new file if we have one.
Thanks to deepfreeze32 for the suggested fix.
This commit is contained in:
@@ -1312,9 +1312,8 @@ public class Application
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if (_digest.validateResource(rsrc, robs)) {
|
if (_digest.validateResource(rsrc, robs)) {
|
||||||
// if the resource is valid but has no _local file, add it to to-install list
|
// if the resource has a _new file, add it to to-install list
|
||||||
if (!toInstall.contains(rsrc) && !rsrc.getLocal().exists() &&
|
if (!toInstall.contains(rsrc) && rsrc.getLocalNew().exists()) {
|
||||||
rsrc.getLocalNew().exists()) {
|
|
||||||
toInstall.add(rsrc);
|
toInstall.add(rsrc);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user