]> xn--ix-yja.es Git - alex.git/commitdiff
Fix more issues with relative paths
authoralex <alex@pdp7.net>
Sun, 7 May 2023 09:51:13 +0000 (09:51 +0000)
committeralex <alex@pdp7.net>
Sun, 7 May 2023 09:51:13 +0000 (09:51 +0000)
workstation/setup.py

index b2684ae145729f043634601f550ad82e1896fa7f..98bd7787dd24e82a470eb024140f3977bcae2451 100755 (executable)
@@ -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"