2015-03-28 14:37:38 -04:00
|
|
|
#!/bin/sh
|
2018-06-21 03:09:59 -04:00
|
|
|
FILEBOT_HOME="/usr/share/filebot"
|
|
|
|
JAVA_HOME="$FILEBOT_HOME/jre"
|
2015-03-28 14:37:38 -04:00
|
|
|
|
2016-03-06 10:32:30 -05:00
|
|
|
if [ -z "$HOME" ]; then
|
|
|
|
echo '$HOME must be set'
|
2015-10-11 10:04:13 -04:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2016-03-08 11:21:13 -05:00
|
|
|
# select application data folder
|
2016-03-06 10:32:30 -05:00
|
|
|
APP_DATA="$HOME/.filebot"
|
2018-06-21 03:09:59 -04:00
|
|
|
LIBRARY_PATH="$FILEBOT_HOME/lib"
|
2016-03-06 10:32:30 -05:00
|
|
|
|
2018-06-27 14:50:58 -04:00
|
|
|
"$JAVA_HOME/bin/java" -Dapplication.deployment=deb -Dnet.filebot.AcoustID.fpcalc="$LIBRARY_PATH/fpcalc" @{java.application.options} @{linux.application.options} @{linux.desktop.application.options} $JAVA_OPTS $FILEBOT_OPTS -jar "$FILEBOT_HOME/jar/filebot.jar" "$@"
|