fix: count data files in the check fetch line

This commit is contained in:
Abdessamad Derraz committed 2026-11-05 19:35:27 +01:00
1 parent 0624d9f735
commit a78d5ea316
5 files changed
+28 -12

No files matched your search

+5 -2
View File
@@ -15584,8 +15584,11 @@ def _install(args: argparse.Namespace, real_stdout: TextIO) -> None:
print(line)
for line in unreadable_lines(unread, args.verbose):
print(line)
print(_check_fetch_line(len(to_download) - len(copies), "the BIOS folder",
len(lacking)))
# The data files need the internet too: offline, "8164 files
# need the internet" stood under "10805 files not in place".
trees_fetched = trees_missing if LOCAL.pack is None else 0
print(_check_fetch_line(len(to_download) - len(copies) + trees_fetched,
"the BIOS folder", len(lacking)))
check_pending += len(to_download)
elif trees_missing:
# The screen's headline: "Everything is in place." stood