aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2023-05-07 09:51:13 +0000
committeralex <alex@pdp7.net>2023-05-07 09:51:13 +0000
commite2275de318c8955915bff34873026bdf87898b11 (patch)
tree83e6e6ce55395d2dd98e67916e3830ceca4ba0da
parentbe2e5d5ed2f7a8c77b6ce5d871f21c5640ee5748 (diff)
Fix more issues with relative paths
-rwxr-xr-xworkstation/setup.py2
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"