Thinko fix: Old and new file hashes might be different.

This commit is contained in:
Fatih Aşıcı
2010-03-01 11:44:39 +00:00
parent a41e8bed9f
commit ac731fe864
+1 -2
View File
@@ -431,8 +431,7 @@ class Install(AtomicOperation):
# e.g. /lib/libdl.so and /lib64/libdl.so when /lib64 is
# a symlink to /lib.
if new_file.hash != old_file.hash \
or os.path.basename(new_file.path) != old_filename:
if os.path.basename(new_file.path) != old_filename:
continue
new_file_path = os.path.join(ctx.config.dest_dir(), new_file.path)