Small fixes.

This commit is contained in:
Artem Sapegin
2012-10-22 12:32:31 +04:00
parent 41cefe2dc1
commit 7ba3fe2bb9
3 changed files with 2 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ def main():
source = os.path.relpath(filename, os.path.dirname(dotfile))
# Check that we aren't overwriting anything
if os.path.exists(dotfile):
if os.path.lexists(dotfile):
if is_link_to(dotfile, source):
continue