mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 13:44:16 +00:00
do not remove temp dotfiles
This commit is contained in:
@@ -213,9 +213,6 @@ def compare(opts, conf, tmp, focus=None, ignore=[]):
|
|||||||
tmpsrc = os.path.join(opts['dotpath'], tmpsrc)
|
tmpsrc = os.path.join(opts['dotpath'], tmpsrc)
|
||||||
if os.path.exists(tmpsrc):
|
if os.path.exists(tmpsrc):
|
||||||
remove(tmpsrc)
|
remove(tmpsrc)
|
||||||
if os.path.exists(insttmp):
|
|
||||||
# clean temporary installed dotfile
|
|
||||||
remove(insttmp)
|
|
||||||
if diff == '':
|
if diff == '':
|
||||||
if opts['debug']:
|
if opts['debug']:
|
||||||
LOG.dbg('diffing \"{}\" VS \"{}\"'.format(dotfile.key,
|
LOG.dbg('diffing \"{}\" VS \"{}\"'.format(dotfile.key,
|
||||||
|
|||||||
Reference in New Issue
Block a user