From: alex Date: Sun, 7 May 2023 09:51:13 +0000 (+0000) Subject: Fix more issues with relative paths X-Git-Tag: 20240214-emacs~359 X-Git-Url: https://xn--ix-yja.es/gitweb/?a=commitdiff_plain;h=e2275de318c8955915bff34873026bdf87898b11;p=alex.git Fix more issues with relative paths --- 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"