Thinko fix: Old and new file hashes might be different.
This commit is contained in:
@@ -431,8 +431,7 @@ class Install(AtomicOperation):
|
|||||||
# e.g. /lib/libdl.so and /lib64/libdl.so when /lib64 is
|
# e.g. /lib/libdl.so and /lib64/libdl.so when /lib64 is
|
||||||
# a symlink to /lib.
|
# a symlink to /lib.
|
||||||
|
|
||||||
if new_file.hash != old_file.hash \
|
if os.path.basename(new_file.path) != old_filename:
|
||||||
or os.path.basename(new_file.path) != old_filename:
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
new_file_path = os.path.join(ctx.config.dest_dir(), new_file.path)
|
new_file_path = os.path.join(ctx.config.dest_dir(), new_file.path)
|
||||||
|
|||||||
Reference in New Issue
Block a user