mirror of
https://github.com/xHyroM/dotfiles.git
synced 2024-12-23 12:41:07 +01:00
feat: logging
This commit is contained in:
parent
05c1191be2
commit
75d9369452
1 changed files with 2 additions and 2 deletions
|
@ -15,9 +15,9 @@ def sync(stuff: list[str]):
|
|||
if os.path.isdir(path):
|
||||
os.makedirs(system_path, exist_ok=True)
|
||||
else:
|
||||
print(f"Copying {path} to {system_path}")
|
||||
print(f":: Copying {path} to {system_path}")
|
||||
if os.path.exists(system_path) and not overwrite:
|
||||
print(f"Path {system_path} already exists. Do you want to overwrite it with {path}? y/n/a")
|
||||
print(f":: Path {system_path} already exists. Do you want to overwrite it with {path}? y/n/a")
|
||||
|
||||
ask = input()
|
||||
if ask not in ("y", "a"):
|
||||
|
|
Loading…
Reference in a new issue