--- update-initramfs.old 2017-08-03 23:24:12.005278510 +0300 +++ update-initramfs.new2 2017-08-04 00:09:23.729227696 +0300 @@ -355,7 +355,7 @@ delete_sha1 - rm -f "${initramfs}" "${initramfs}.bak" + rm -f "${initramfs}" "${initramfs}.*" } # Check for update mode on existing and modified initramfs