This commit is contained in:
2025-08-10 00:59:11 +02:00
parent 30382b139d
commit a3ab7b0586
35 changed files with 1108 additions and 785 deletions
+4 -4
View File
@@ -1,10 +1,8 @@
#!/usr/bin/env python3
import os
import pathlib
import sys
import pathlib
import os
os.chdir("/root")
@@ -16,7 +14,9 @@ if not pathlib.Path(".welcome.txt").exists():
os.system("python3 -m venv --prompt '' .venv")
os.system("cp -r /opt/bootstrap/root/.* /root")
os.system("cp /opt/bootstrap/.welcome.txt /root/.welcome.txt")
pathlib.Path(".bashrc").write_text(pathlib.Path(".bashrc").read_text() + "\n" + "source .venv/bin/activate")
pathlib.Path(".bashrc").write_text(
pathlib.Path(".bashrc").read_text() + "\n" + "source .venv/bin/activate"
)
os.environ["SNEK"] = "1"
if pathlib.Path(".welcome.txt").exists():