1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-11 08:29:16 +00:00

print something when installed successfully

This commit is contained in:
deadc0de6
2017-09-08 15:22:31 +02:00
parent ff6c2c2df0
commit cc9c0792ed

View File

@@ -81,7 +81,7 @@ class Installer:
self.log.sub('ignoring \"%s\", same content' % (dst)) self.log.sub('ignoring \"%s\", same content' % (dst))
return [] return []
if ret == 0: if ret == 0:
if not self.quiet and not self.dry and not self.comparing: if not self.dry and not self.comparing:
self.log.sub('copied %s to %s' % (src, dst)) self.log.sub('copied %s to %s' % (src, dst))
return [(src, dst)] return [(src, dst)]
return [] return []