mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-04-28 05:02:26 +00:00
Fixed ensuring directories for symlinks
This commit is contained in:
parent
d3ba3d2b52
commit
865db3788c
1 changed files with 1 additions and 1 deletions
2
lib.py
2
lib.py
|
@ -455,7 +455,7 @@ class Path:
|
|||
symlink_pointer {str} -- path where symlink should be pointing
|
||||
path {str} -- path in which the symlink should be created
|
||||
'''
|
||||
Path.ensure_dirs(symlink_pointer, file_end=True)
|
||||
Path.ensure_dirs(path, file_end=True)
|
||||
Command.execute(f'ln -sf {symlink_pointer} {path}')
|
||||
Print.comment(f'Created symlink: {path} -> {symlink_pointer}')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue