From 8dd1b9856784fdfaa568fdaa52777a652f569b81 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Fri, 11 Sep 2020 12:21:15 +0200 Subject: [PATCH] Make symlink and copy src relative to basedir, not to dotfiles --- install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.py b/install.py index cca983f..152d43b 100755 --- a/install.py +++ b/install.py @@ -181,7 +181,7 @@ class Installer: ui.info_2("Skipping", pretty_dest) return - p_src: Path = self.base_dir / "dotfiles" / src + p_src: Path = self.base_dir / src ui.info_2("Copy", p_src, "->", self.pretty_path(p_src)) p_src.copy(p_dest) @@ -321,7 +321,7 @@ class Installer: if p_src.startswith("/"): src_full = p_src else: - src_full = self.base_dir / "dotfiles" / p_src + src_full = self.base_dir / p_src src_full.symlink(p_dest)