From 83b468e2baae49e836a4d651df9c960a443c4197 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sat, 21 Jul 2018 13:18:34 +0200 Subject: [PATCH] do not remove temp dotfiles --- dotdrop/dotdrop.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/dotdrop/dotdrop.py b/dotdrop/dotdrop.py index babf018..9d001aa 100644 --- a/dotdrop/dotdrop.py +++ b/dotdrop/dotdrop.py @@ -213,9 +213,6 @@ def compare(opts, conf, tmp, focus=None, ignore=[]): tmpsrc = os.path.join(opts['dotpath'], tmpsrc) if os.path.exists(tmpsrc): remove(tmpsrc) - if os.path.exists(insttmp): - # clean temporary installed dotfile - remove(insttmp) if diff == '': if opts['debug']: LOG.dbg('diffing \"{}\" VS \"{}\"'.format(dotfile.key,