mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[core] Disable delta manifests if versions identical
This commit is contained in:
parent
7046b06f14
commit
37083b01de
|
@ -720,6 +720,7 @@ class LegendaryCore:
|
||||||
|
|
||||||
# check if we should use a delta manifest or not
|
# check if we should use a delta manifest or not
|
||||||
disable_delta = disable_delta or ((override_old_manifest or override_manifest) and not override_delta_manifest)
|
disable_delta = disable_delta or ((override_old_manifest or override_manifest) and not override_delta_manifest)
|
||||||
|
disable_delta = disable_delta or (old_manifest.meta.build_id == new_manifest.meta.build_id)
|
||||||
if old_manifest and new_manifest and not disable_delta:
|
if old_manifest and new_manifest and not disable_delta:
|
||||||
if override_delta_manifest:
|
if override_delta_manifest:
|
||||||
self.log.info(f'Overriding delta manifest with "{override_delta_manifest}"')
|
self.log.info(f'Overriding delta manifest with "{override_delta_manifest}"')
|
||||||
|
|
Loading…
Reference in a new issue