1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-08 09:39:16 +00:00

fix and tests for #302

This commit is contained in:
deadc0de6
2021-02-17 13:40:55 +01:00
parent 58435ece94
commit f4ab927c9b
4 changed files with 24 additions and 2 deletions

View File

@@ -245,6 +245,11 @@ def _dotfile_install(o, dotfile, tmpdir=None):
if not tmp:
return False, dotfile.key, None
src = tmp
# make sure to re-evaluate if is template
is_template = dotfile.template and Templategen.is_template(
src,
ignore=ignores,
)
r, err = inst.install(t, src, dotfile.dst,
LinkTypes.NOLINK,
actionexec=pre_actions_exec,