From e2275de318c8955915bff34873026bdf87898b11 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 7 May 2023 09:51:13 +0000 Subject: [PATCH] Fix more issues with relative paths --- workstation/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workstation/setup.py b/workstation/setup.py index b2684ae..98bd778 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" -- 2.47.3