mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 08:18:52 -05:00
* add 3rd party packages to the library path by default
This commit is contained in:
parent
9ab47c4b9e
commit
0b895172c3
@ -21,13 +21,15 @@ APP_DATA="$APP_ROOT/data"
|
|||||||
# restore original working dir
|
# restore original working dir
|
||||||
cd "$WORKING_DIR"
|
cd "$WORKING_DIR"
|
||||||
|
|
||||||
|
# add 3rd party packages to the library path by default
|
||||||
|
SYNO_LIBRARY_PATH="/var/packages/mediainfo/target/lib"
|
||||||
|
|
||||||
# add APP_ROOT to LD_LIBRARY_PATH
|
# add APP_ROOT to LD_LIBRARY_PATH
|
||||||
if [ ! -z "$LD_LIBRARY_PATH" ]
|
if [ ! -z "$LD_LIBRARY_PATH" ]
|
||||||
then
|
then
|
||||||
export LD_LIBRARY_PATH="$APP_ROOT:$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="$APP_ROOT:$SYNO_LIBRARY_PATH:$LD_LIBRARY_PATH"
|
||||||
else
|
else
|
||||||
export LD_LIBRARY_PATH="$APP_ROOT"
|
export LD_LIBRARY_PATH="$APP_ROOT:$SYNO_LIBRARY_PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# force JVM language and encoding settings
|
# force JVM language and encoding settings
|
||||||
|
Loading…
Reference in New Issue
Block a user