1
0
Fork 0
mirror of synced 2024-11-22 00:05:34 -05:00
dotbot/plugins
Anish Athalye 191559601a Fix linking when using both relink and relative
Prior to this patch, the following config led to incorrect behavior:

    - link:
        ~/.folder/file:
          path: file
          create: true
          relative: true
          relink: true

Prior to the change, running the config the first time would result in
expected behavior. However, running the config for the second time would
result in deletion and re-creation of the link (even when the link is
correct).

This patch improves the interaction of relink and relative, taking
relative paths into account when checking the validity of existing links
in the `_delete()` method.
2016-04-07 14:45:46 -04:00
..
clean.py Add default options 2016-03-03 09:42:50 -05:00
link.py Fix linking when using both relink and relative 2016-04-07 14:45:46 -04:00
shell.py Add default options 2016-03-03 09:42:50 -05:00