In do_symlink if statement, change home to /

This commit is contained in:
flyingscorpio@pinebook-pro 2020-04-19 10:14:10 +02:00
parent 5c68c37694
commit ef46a43523

View file

@ -121,7 +121,7 @@ class Installer:
ui.info_2("Symlink", pretty_dest, "->", pretty_src)
if p_src.startswith(self.home):
if p_src.startswith("/"):
src_full = p_src
else:
src_full = self.base_dir / "dotfiles" / p_src