diff --git a/dotdrop/installer.py b/dotdrop/installer.py index 466d2e7..37e99f4 100644 --- a/dotdrop/installer.py +++ b/dotdrop/installer.py @@ -640,12 +640,14 @@ class Installer: needs to be installed """ # check file content + tmp = None if content: tmp = utils.write_to_tmpfile(content) src = tmp ret = utils.fastdiff(src, dst) if ret: self.log.dbg('content differ') + utils.removepath(tmp) return ret def _show_diff_before_write(self, src, dst, content=None):