14 lines
619 B
Text
14 lines
619 B
Text
--- ./usr/bin/SpiderOak.orig 2014-01-12 18:44:59.000000000 +0100
|
|
+++ ./usr/bin/SpiderOak 2014-01-12 18:46:22.000000000 +0100
|
|
@@ -1,8 +1,8 @@
|
|
#!/bin/sh
|
|
|
|
-LD_LIBRARY_PATH="/opt/SpiderOak/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
|
|
+LD_LIBRARY_PATH="%%DATADIR%%${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
|
|
export LD_LIBRARY_PATH
|
|
-QT_PLUGIN_PATH="/opt/SpiderOak/lib/plugins/" ; export QT_PLUGIN_PATH
|
|
+QT_PLUGIN_PATH="%%DATADIR%%/plugins/" ; export QT_PLUGIN_PATH
|
|
SpiderOak_EXEC_SCRIPT=$(cd `dirname $0` ; pwd)/SpiderOak
|
|
export SpiderOak_EXEC_SCRIPT
|
|
-exec "/opt/SpiderOak/lib/SpiderOak" "$@"
|
|
+exec "%%DATADIR%%/SpiderOak" "$@"
|