aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/023_add-x2goagent-wrapper.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/023_add-x2goagent-wrapper.patch')
-rw-r--r--debian/patches/023_add-x2goagent-wrapper.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/023_add-x2goagent-wrapper.patch b/debian/patches/023_add-x2goagent-wrapper.patch
index ca7d92e9e..d23d3f0ee 100644
--- a/debian/patches/023_add-x2goagent-wrapper.patch
+++ b/debian/patches/023_add-x2goagent-wrapper.patch
@@ -1,6 +1,6 @@
--- /dev/null
+++ b/bin/x2goagent
-@@ -0,0 +1,24 @@
+@@ -0,0 +1,25 @@
+#!/bin/bash
+
+# Copyright (C) 2012 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
@@ -22,7 +22,7 @@
+NX_LOCAL_LIBS=/usr/local/lib/nx
+LD_LIBRARY_PATH=$NX_LIBS:$NX_LIBS/X11:$NX_LOCAL_LIBS:$NX_LOCAL_LIBS/X11:$LD_LIBRARY_PATH
+
-+test -d NX_LIBS && export NX_LIBS || export NX_LIBS=$NX_LOCAL_LIBS
++test -d $NX_LIBS && export NX_LIBS || export NX_LIBS=$NX_LOCAL_LIBS
+export LD_LIBRARY_PATH
+
+exec $NX_LIBS/../x2go/x2goagent "$@"