* i swapped the order of if/else there but forgot to change == to !=

This commit is contained in:
Eray Özkural
2006-06-20 09:55:53 +00:00
parent 6ad3d1d1d4
commit 346bd9654d
+1 -1
View File
@@ -294,7 +294,7 @@ class Install(AtomicOperation):
if newf.type == 'config' and oldf.type == 'config': # config upgrade
fpath = pisi.util.join_path(ctx.config.dest_dir(), oldf.path)
try:
if pisi.util.sha1_file(fpath) == fileinfo.hash:
if pisi.util.sha1_file(fpath) != fileinfo.hash:
# old config file changed, don't overwrite
config_changed.append(fpath)
if os.path.exists(fpath + '.old'):