1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 22:39:43 +00:00

backport bug fix

This commit is contained in:
deadc0de6
2019-06-09 13:02:01 +02:00
parent 41f0e018fc
commit bbe6bc76fe

View File

@@ -123,12 +123,12 @@ def cmd_install(o):
if o.debug:
LOG.dbg('installing {}'.format(dotfile))
if hasattr(dotfile, 'link') and dotfile.link == LinkTypes.LINK:
r = inst.link(t, dotfile.src, dotfile.dst,
actionexec=pre_actions_exec)
r, err = inst.link(t, dotfile.src, dotfile.dst,
actionexec=pre_actions_exec)
elif hasattr(dotfile, 'link') and \
dotfile.link == LinkTypes.LINK_CHILDREN:
r = inst.link_children(t, dotfile.src, dotfile.dst,
actionexec=pre_actions_exec)
r, err = inst.link_children(t, dotfile.src, dotfile.dst,
actionexec=pre_actions_exec)
else:
src = dotfile.src
tmp = None