Closed LeChatP closed 2 months ago
This fix do not work. I think I do not understand the source code. Let's add another postinst step on my project instead.
By default we are following symlinks and compress them as regular files. There's preserve-symlinks
option that is required for symlink assets to exist.
I don't know where but I think there is a mess with symlinks when they are in the manual path. I activated the option and my symlink is still being compressed and goes in panic
Can you make an example project that demonstrates the bug?
Here you go : https://github.com/LeChatP/symlink-bug Error message : cargo-deb: Symlink unexpectedly used to read file data
My workaround is to compress the man by myself and do symlink with "gz" extension
Fixed in 90636b80fea0d38bbbcbfda263ab0450f03f97c7
Hello,
I propose a fix to avoid compressing on symlinks as it should not be compressed. Symlinks in documentation folder is necessary for example when we have multiple binaries with a single man page.
Thank you for this cool tool.