1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-07 21:29:22 +00:00

fix fake dotfiles actions not executed

This commit is contained in:
deadc0de6
2020-11-22 10:45:02 +01:00
parent d42d810ab1
commit 640310c0a4
3 changed files with 29 additions and 23 deletions

View File

@@ -85,6 +85,11 @@ class Installer:
- False, error_msg : error
- False, None : ignored
"""
if not src or not dst:
# fake dotfile
self.log.dbg('fake dotfile installed')
self._exec_pre_actions(actionexec)
return True, None
if self.debug:
msg = 'installing \"{}\" to \"{}\" (link: {})'
self.log.dbg(msg.format(src, dst, str(linktype)))