* replace /opt/usr/bin with /opt/bin for improved Synology compatibility

@see http://www.filebot.net/forums/viewtopic.php?f=3&t=1455
This commit is contained in:
Reinhard Pointner 2014-03-26 15:25:56 +00:00
parent 508dd826e6
commit 8b2e38a149
3 changed files with 7 additions and 3 deletions

View File

@ -1,2 +1,6 @@
#!/bin/sh
java -Dunixfs=false -DuseExtendedFileAttributes=false -DuseCreationDate=false -Dfile.encoding=UTF-8 -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Dapplication.deployment=ipkg -Dapplication.analytics=true -Duser.home=/opt/usr/share/filebot/data -Dapplication.dir=/opt/usr/share/filebot/data -Djava.io.tmpdir=/opt/usr/share/filebot/data/temp -Djna.library.path=/opt/usr/share/filebot -Djava.library.path=/opt/usr/share/filebot -Dnet.sourceforge.filebot.AcoustID.fpcalc=/opt/usr/share/filebot/fpcalc -jar /opt/usr/share/filebot/FileBot.jar "$@"
# force JVM language and encoding settings
export LANG=en_US.utf8
java -Dunixfs=false -DuseExtendedFileAttributes=false -DuseCreationDate=false -Dfile.encoding=UTF-8 -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Dapplication.deployment=ipkg -Dapplication.analytics=true -Duser.home=/opt/share/filebot/data -Dapplication.dir=/opt/share/filebot/data -Djava.io.tmpdir=/opt/share/filebot/data/temp -Djna.library.path=/opt/share/filebot -Djava.library.path=/opt/share/filebot -Dnet.sourceforge.filebot.AcoustID.fpcalc=/opt/share/filebot/fpcalc -jar /opt/share/filebot/FileBot.jar "$@"

View File

@ -1,7 +1,7 @@
#!/bin/sh
# create /bin symlink
ln -s /opt/usr/share/filebot/bin/filebot.sh /opt/usr/bin/filebot
ln -s /opt/share/filebot/bin/filebot.sh /opt/bin/filebot
# delete caches and logs
filebot -clear-cache

View File

@ -4,4 +4,4 @@
filebot -clear-cache
# remove /bin symlink
rm /opt/usr/bin/filebot
rm /opt/bin/filebot