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

add instignore for #195

This commit is contained in:
deadc0de6
2019-11-16 19:28:33 +01:00
parent 2d64e2ee59
commit 1910514981
6 changed files with 166 additions and 17 deletions

View File

@@ -137,9 +137,12 @@ def cmd_install(o):
if not tmp:
continue
src = tmp
ignores = list(set(o.install_ignore + dotfile.instignore))
ignores = patch_ignores(ignores, dotfile.dst, debug=o.debug)
r, err = inst.install(t, src, dotfile.dst,
actionexec=pre_actions_exec,
noempty=dotfile.noempty)
noempty=dotfile.noempty,
ignore=ignores)
if tmp:
tmp = os.path.join(o.dotpath, tmp)
if os.path.exists(tmp):