diff --git a/install-arch.py b/install-arch.py index 12f8143..0c7604d 100644 --- a/install-arch.py +++ b/install-arch.py @@ -14,18 +14,18 @@ def sym_link_folders() -> void: ] for folder in FOLDERS: - if not Path(f"{Path.home()}/{folder}").is_dir() and not Path(f"{Path.home()}/{folder}").is_symlink(): - Path(f"{Path.home()}/{folder}").symlink_to(f"{target_folder}/{folder}") + if not Path(f"{Path.home()}/{folder}").is_dir() and not Path(f"{Path.home()}/{folder}").is_symlink(): + Path(f"{Path.home()}/{folder}").symlink_to(f"{target_folder}/{folder}") if Path(f"{Path.home()}/{folder}").is_dir() and not Path(f"{Path.home()}/{folder}").is_symlink(): - Path(f"{Path.home()}/{folder}").rmdir() - Path(f"{Path.home()}/{folder}").symlink_to(f"{target_folder}/{folder}") + Path(f"{Path.home()}/{folder}").rmdir() + Path(f"{Path.home()}/{folder}").symlink_to(f"{target_folder}/{folder}") if Path(f"{Path.home()}/Templates").is_dir(): - Path(f"{Path.home()}/Templates").rmdir() + Path(f"{Path.home()}/Templates").rmdir() if Path(f"{Path.home()}/Public").is_dir(): - Path(f"{Path.home()}/Public").rmdir() + Path(f"{Path.home()}/Public").rmdir() def install_apps() -> void: