mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-20 18:59:07 -05:00
fix: count a shared destination once, filled
verify kept the worst verdict on the raw destination, the builder the first one it read. Both now key on the sanitized path and let a declaration that holds a file fill one that finds nothing.
This commit is contained in:
1 parent
c63a7e45b1
commit
34c8b925d7
3 files changed
+76
-10
No files matched your search
@@ -964,6 +964,11 @@ def generate_pack(
|
||||
dedup_key,
|
||||
existence_discrepancy(file_entry, local_path, platform_display),
|
||||
)
|
||||
if file_status.get(dedup_key) == "missing":
|
||||
# An earlier declaration of this path found nothing; this
|
||||
# one fills it, as verify counts it.
|
||||
del file_status[dedup_key]
|
||||
file_reasons.pop(dedup_key, None)
|
||||
file_status.setdefault(dedup_key, "ok")
|
||||
|
||||
# Emulator-level validation: informational only for platform packs.
|
||||
|
||||
Reference in new issue
Block a user