patch various JNA options to make system JNA work (which behaves differently from upstream JNA due to various Debian-specific patches)

This commit is contained in:
Reinhard Pointner 2019-05-20 20:07:33 +07:00
parent 02d0497eae
commit e7fbb4d2b9
1 changed files with 3 additions and 0 deletions

View File

@ -5,3 +5,6 @@ ln -sf /usr/share/filebot/bin/filebot.sh /usr/bin/filebot
# link system JNA library
ln -sf /usr/share/java/jna.jar /usr/share/filebot/jar/jna.jar
# patch various JNA options to make system JNA work
sed -i 's/jna.nosys=true/jna.nosys=false/g' /usr/share/filebot/bin/filebot.sh