cargo-deb
cargo-deb copied to clipboard
Asset destinations starting with '/' treated as files
In the following example, both mybin1 and mybin2 will show up as an executable /usr/bin inside the data archive.
[package.metadata.deb]
assets = [
["target/release/mybin1", "/usr/bin/", "755"],
["target/release/mybin2", "/usr/bin/", "755"],
]
This seems to be fixed by removing the leading /.
Oh, that looks like a regression.