From 61f960755573fcd5ac932b2fa2aac14138a667ae Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 1 Apr 2023 17:52:30 +0200 Subject: [PATCH] Symlink .ssh --- workstation/setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/workstation/setup.py b/workstation/setup.py index 25aa203..2bf53fc 100755 --- a/workstation/setup.py +++ b/workstation/setup.py @@ -39,3 +39,6 @@ with open(nextcloud_service_path, "w", encoding="utf8") as f: """)) subprocess.run(["systemctl", "--user", "enable", "--now", "nextcloud"], check=True) + +if not pathlib.Path(".ssh").exists(): + subprocess.run(["ln", "-s", "Nextcloud/_ssh", ".ssh"], check=True) -- 2.47.3