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:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user