The command `rm -f` should stay because in v6.5 the script is still there, and in debian 1.0 we don't properly represent removed files in .diff.gz tarball. The problem is with the `chmod -x` command.
First, chmod commands should be generated in the reconstruct script before any rm command.
And second, if a file has been deleted, rm -f is more than enough, no need for chmod command.
@arighi I created another bug for this because it is a general issue, not only for this `is_rust_module.sh` script. /bugs.launchpad .net/ubuntu/ +source/ linux/+ bug/2045562
https:/
The command `rm -f` should stay because in v6.5 the script is still there, and in debian 1.0 we don't properly represent removed files in .diff.gz tarball. The problem is with the `chmod -x` command.
First, chmod commands should be generated in the reconstruct script before any rm command.
And second, if a file has been deleted, rm -f is more than enough, no need for chmod command.