No, it doesn’t - that is in the other file, the prerm
- which on Debian systems is run when the package is removed
postinst
→ after installation
prerm
→ before removal
…
Nothing odd about it
sane libraries are installed into /usr/lib and /usr/lib/sane - /usr/local/lib has other purposes
(look up the file system standard)
The lines in the postinst
file can be read like:
check if the directory exists, if it does, create the symlink
if a directory does not exist - like /usr/lib/aarch64-linux-gnu - do noting
(it’s a generic script, /usr/lib/aarch64-linux-gnu
for example, doesn’t exist on an amd64 system)
It’s not easy at the beginning to read the code and know what it does - practice makes perfect.
As I said:
At this point
Since you mentioned using a VM …
you could install a Mint or Debian VM instead of Windows - the package is made for this system and your struggle is with converting it to fit the slight differences of Arch/Manjaro compared to Debian or Mint.
I’d say: save your time and effort.
They will notice that you are not very familiar with what you are doing.
Or they are themselves not familiar with Arch or have never even used it and truly do not know.
But it could be that they are very nice people and you will get a helpful response.
What I did see in the .rpm
version of the package:
the software is under GPL and the source code is therefore available.
They even reference a src.rpm
in the package (in the file aptly called: SOURCERPM)
But it is not available from their web site - maybe it is, but I didn’t find it.
(I didn’t look very hard)