From: alex Date: Sat, 1 Apr 2023 15:52:30 +0000 (+0200) Subject: Symlink .ssh X-Git-Tag: 20240214-emacs~370 X-Git-Url: https://xn--ix-yja.es/gitweb/?a=commitdiff_plain;h=61f960755573fcd5ac932b2fa2aac14138a667ae;p=alex.git Symlink .ssh --- 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)