ServiioMediaServer/serviio_SERVIIO_HOME.patch
2019-10-09 20:46:46 +00:00

16 lines
511 B
Diff

diff -urN serviio-2.0.1.orig/bin/serviio.sh serviio-2.0.1/bin/serviio.sh
--- serviio-2.0.1.orig/bin/serviio.sh 2012-01-31 20:39:39.000000000 +0100
+++ serviio-2.0.1/bin/serviio.sh 2012-07-09 18:53:01.282623000 +0200
@@ -35,11 +35,7 @@
fi
# Setup SERVIIO_HOME
-if [ "x$SERVIIO_HOME" = "x" ]; then
- # get the full path (without any relative bits)
- SERVIIO_HOME=`cd $DIRNAME/..; pwd`
-fi
-export SERVIIO_HOME
+export SERVIIO_HOME=/usr/share/java/serviio
# Setup the JVM
if [ "x$JAVA" = "x" ]; then