summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2023-04-01 17:48:54 +0200
committeralex <alex@pdp7.net>2023-04-01 17:48:54 +0200
commit5c5afa33308ef6277446bc89da5ae4493bea83a9 (patch)
tree85cb9da0ac972078651fb2be25baa997b9ee9657
parent197301e96538c29f35417cb012071c6ad7415367 (diff)
Also install fuse (needed for rclone mount)
-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(_("""