Quote:
Originally Posted by PeterT
@ratinox Since the installer is a shell script, why not just download it and alter it so that if the host is WSL 1 use the command to strip the section from the library.
If you do this then any future installs you do would function.
Sent from my Pixel 4a using Tapatalk
|
The installer isn't just a shell script. It's a lot of Python code wrapped up in a little bit of Bourne shell that extracts and executes the Python code. The strip command needs to be in that nested Python after the tarball is extracted but before it calls calibre_postinstall.
The clever trick is figuring out exactly where to stuff the strip command and inserting it into the wget stream. This, I think, will patch the bugged library without mucking with the digital signatures and let the rest of the installation process work as designed.