From ac731fe86405dd82c6c5fc889ac293546c06dafd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= Date: Mon, 1 Mar 2010 11:44:39 +0000 Subject: [PATCH] Thinko fix: Old and new file hashes might be different. --- pisi/atomicoperations.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pisi/atomicoperations.py b/pisi/atomicoperations.py index 2ee59da9..fbb7a779 100644 --- a/pisi/atomicoperations.py +++ b/pisi/atomicoperations.py @@ -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)