mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 01:29:17 +00:00
fix bug for #154
This commit is contained in:
@@ -110,12 +110,12 @@ def cmd_install(o):
|
|||||||
if o.debug:
|
if o.debug:
|
||||||
LOG.dbg('installing {}'.format(dotfile))
|
LOG.dbg('installing {}'.format(dotfile))
|
||||||
if hasattr(dotfile, 'link') and dotfile.link == LinkTypes.LINK:
|
if hasattr(dotfile, 'link') and dotfile.link == LinkTypes.LINK:
|
||||||
r = inst.link(t, dotfile.src, dotfile.dst,
|
r, err = inst.link(t, dotfile.src, dotfile.dst,
|
||||||
actionexec=pre_actions_exec)
|
actionexec=pre_actions_exec)
|
||||||
elif hasattr(dotfile, 'link') and \
|
elif hasattr(dotfile, 'link') and \
|
||||||
dotfile.link == LinkTypes.LINK_CHILDREN:
|
dotfile.link == LinkTypes.LINK_CHILDREN:
|
||||||
r = inst.link_children(t, dotfile.src, dotfile.dst,
|
r, err = inst.link_children(t, dotfile.src, dotfile.dst,
|
||||||
actionexec=pre_actions_exec)
|
actionexec=pre_actions_exec)
|
||||||
else:
|
else:
|
||||||
src = dotfile.src
|
src = dotfile.src
|
||||||
tmp = None
|
tmp = None
|
||||||
|
|||||||
Reference in New Issue
Block a user