]> xn--ix-yja.es Git - alex.git/commitdiff
Also install fuse (needed for rclone mount)
authoralex <alex@pdp7.net>
Sat, 1 Apr 2023 15:48:54 +0000 (17:48 +0200)
committeralex <alex@pdp7.net>
Sat, 1 Apr 2023 15:48:54 +0000 (17:48 +0200)
workstation/setup.py

index ec63c9e890845bb013d43617418848e914bd9c66..75d17893b1c1b3dbd334d55191411673f806dd3a 100755 (executable)
@@ -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(_("""