1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 13:13:49 +00:00
This commit is contained in:
deadc0de6
2019-01-24 15:39:00 +01:00
parent c8bfeb2fa3
commit 46e659a138

View File

@@ -102,7 +102,8 @@ def cmd_install(opts, conf, temporary=False, keys=[]):
installed = []
for dotfile in dotfiles:
preactions = []
if not temporary and dotfile.actions and Cfg.key_actions_pre in dotfile.actions:
if not temporary and dotfile.actions \
and Cfg.key_actions_pre in dotfile.actions:
for action in dotfile.actions[Cfg.key_actions_pre]:
preactions.append(action)
if opts['debug']: