mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-12 19:50:57 +05:00
Make docs system lib writable for package user
This commit is contained in:
parent
299916c319
commit
af9c251c4b
@ -383,6 +383,9 @@ def run_snippets(snippet_ids: tuple[str, ...]) -> None:
|
||||
"ABXPKG_LIB_DIR": str(temp_dir / "system-lib"),
|
||||
},
|
||||
)
|
||||
system_lib_dir = Path(snippet_env["ABXPKG_LIB_DIR"])
|
||||
system_lib_dir.mkdir(exist_ok=True)
|
||||
system_lib_dir.chmod(0o777)
|
||||
snippet_env["PATH"] = os.pathsep.join(
|
||||
[
|
||||
str(system_home / ".local" / "bin"),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user