diff options
| author | alex <alex@pdp7.net> | 2023-04-01 17:52:30 +0200 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2023-04-01 17:52:30 +0200 |
| commit | 61f960755573fcd5ac932b2fa2aac14138a667ae (patch) | |
| tree | 8395fc9a89a0cd01a1483e34889a0703e26b22c7 /workstation | |
| parent | 643046e7e3d9d1fcd6dfdf94f226d63e9a45a383 (diff) | |
Symlink .ssh
Diffstat (limited to 'workstation')
| -rwxr-xr-x | workstation/setup.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/workstation/setup.py b/workstation/setup.py index 25aa2039..2bf53fcd 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) |
