From 5c5afa33308ef6277446bc89da5ae4493bea83a9 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 1 Apr 2023 17:48:54 +0200 Subject: [PATCH] Also install fuse (needed for rclone mount) --- workstation/setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/workstation/setup.py b/workstation/setup.py index ec63c9e..75d1789 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(_(""" -- 2.47.3