diff --git a/dotdrop/installer.py b/dotdrop/installer.py index 37e99f4..fd2a69a 100644 --- a/dotdrop/installer.py +++ b/dotdrop/installer.py @@ -647,7 +647,8 @@ class Installer: ret = utils.fastdiff(src, dst) if ret: self.log.dbg('content differ') - utils.removepath(tmp) + if content: + utils.removepath(tmp) return ret def _show_diff_before_write(self, src, dst, content=None):