diff options
| author | alex <alex@pdp7.net> | 2023-05-07 09:51:13 +0000 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2023-05-07 09:51:13 +0000 |
| commit | e2275de318c8955915bff34873026bdf87898b11 (patch) | |
| tree | 83e6e6ce55395d2dd98e67916e3830ceca4ba0da /workstation | |
| parent | be2e5d5ed2f7a8c77b6ce5d871f21c5640ee5748 (diff) | |
Fix more issues with relative paths
Diffstat (limited to 'workstation')
| -rwxr-xr-x | workstation/setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/workstation/setup.py b/workstation/setup.py index b2684ae1..98bd7787 100755 --- a/workstation/setup.py +++ b/workstation/setup.py @@ -20,7 +20,7 @@ if not (pathlib.Path.home() / ".config" / "rclone" / "rclone.conf").exists(): subprocess.run(["rclone", "config", "create", "nextcloud", "webdav", "url=https://nextcloud.pdp7.net/nextcloud/remote.php/dav/files/alex/", "vendor=nextcloud", "user=alex", "--all"], check=True) -pathlib.Path("Nextcloud").mkdir(exist_ok=True) +(pathlib.Path.home() / "Nextcloud").mkdir(exist_ok=True) nextcloud_service_path = pathlib.Path.home() / ".config" / "systemd" / "user" / "nextcloud.service" |
