diff options
| author | alex <alex@pdp7.net> | 2023-04-01 17:48:54 +0200 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2023-04-01 17:48:54 +0200 |
| commit | 5c5afa33308ef6277446bc89da5ae4493bea83a9 (patch) | |
| tree | 85cb9da0ac972078651fb2be25baa997b9ee9657 /workstation/setup.py | |
| parent | 197301e96538c29f35417cb012071c6ad7415367 (diff) | |
Also install fuse (needed for rclone mount)
Diffstat (limited to 'workstation/setup.py')
| -rwxr-xr-x | workstation/setup.py | 8 |
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(_(""" |
