summaryrefslogtreecommitdiff
path: root/workstation/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'workstation/setup.py')
-rwxr-xr-xworkstation/setup.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/workstation/setup.py b/workstation/setup.py
index ec63c9e8..75d17893 100755
--- a/workstation/setup.py
+++ b/workstation/setup.py
@@ -9,8 +9,12 @@ def _(t):
return textwrap.dedent(t).lstrip()
-if not shutil.which("rclone"):
- subprocess.run(["sudo", "dnf", "install", "-y", "rclone"], check=True)
+if not pathlib.Path("/etc/subuid").exists():
+ assert False, "podman is not
+
+
+print("Installing some packages...")
+subprocess.run(["sudo", "dnf", "install", "-y", "rclone", "fuse"], check=True)
if not pathlib.Path(".config/rclone/rclone.conf").exists():
print(_("""