Emoji font: install it readable, and retry a failed load
CI / test (push) Failing after 44m48s

The fetch script downloaded through mktemp (0600) and the installer kept
that mode, so the session couldn't read the root-owned font and reported
it missing. The failure was also cached until the next session.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
nandiandClaude Sonnet 5.5 committed 2026-11-26 00:12:06 -08:00
1 parent 44688453d7
commit 7912a0b32b
3 files changed
+20 -6

No files matched your search

+7
View File
@@ -196,6 +196,13 @@ for d in ("config", "wit", "assets"):
if os.path.lexists(dst):
shutil.rmtree(dst) if os.path.isdir(dst) and not os.path.islink(dst) else os.remove(dst)
shutil.copytree(os.path.join(root, d), dst)
# copytree keeps the sources' modes; root installs these and every user's session reads them.
for top, _, files in os.walk(dst):
os.chmod(top, 0o755)
for f in files:
path = os.path.join(top, f)
if not os.path.islink(path):
os.chmod(path, 0o644)
print("installed", dst)
mods = os.path.join(root, "build/components")
dst = os.path.join(share, "modules")