From 7eb68dba62c4138ed25e839c6652f863350f8343 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 7 Sep 2025 17:11:56 +0200 Subject: Clean up * Remove now-unused distrobox * Make homogenous use of setup-* --- scripts/p7s/distrobox.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 scripts/p7s/distrobox.py (limited to 'scripts/p7s/distrobox.py') diff --git a/scripts/p7s/distrobox.py b/scripts/p7s/distrobox.py deleted file mode 100644 index 787f05ef..00000000 --- a/scripts/p7s/distrobox.py +++ /dev/null @@ -1,22 +0,0 @@ -import os -import subprocess - - -IMAGE="quay.io/alexpdp7/workstation:latest" -NAME="workstation-latest" - - -def create(): - subprocess.run(["distrobox", "create", "-i", IMAGE], check=True) - - -def enter(): - os.execvp("distrobox", ["distrobox", "enter", NAME]) - - -def update(): - print("If this fails on ws, systemctl --user stop soju bitlbee // systemctl --user start soju bitlbee") - subprocess.run(["distrobox", "rm", "-f", NAME], check=True) - subprocess.run(["podman", "rmi", IMAGE], check=True) - subprocess.run(["podman", "pull", IMAGE], check=True) - subprocess.run(["distrobox", "create", "-i", IMAGE], check=True) -- cgit v1.2.3