* fix typo, all for ismail.

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