1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 20:54:51 +00:00

Merge pull request #76 from Iambecomeroot/patch-1

Fix bug with linking to broken symlink
This commit is contained in:
deadc0de
2018-12-29 16:24:17 +01:00
committed by GitHub

View File

@@ -64,7 +64,7 @@ class Installer:
if not os.path.exists(src):
self.log.err('source dotfile does not exist: {}'.format(src))
return []
dst = os.path.expanduser(dst)
dst = os.path.expanduser(dst).rstrip('/')
if self.totemp:
# ignore actions
return self.install(templater, src, dst, actions=[])