1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-06 21:15:38 +00:00

respect create: false in install --temp for #326

This commit is contained in:
deadc0de6
2021-10-11 17:42:00 +02:00
parent 7671266fa6
commit 0bde2ab6b6
3 changed files with 11 additions and 6 deletions

View File

@@ -145,7 +145,8 @@ def _dotfile_compare(opts, dotfile, tmp):
# install dotfile to temporary dir for compare
ret, err, insttmp = inst.install_to_temp(templ, tmp, src, dotfile.dst,
is_template=True,
chmod=dotfile.chmod)
chmod=dotfile.chmod,
set_create=True)
if not ret:
# failed to install to tmp
line = '=> compare {} error: {}'