Commit a295d73f authored by Mike Gabriel's avatar Mike Gabriel

Fix wrapper script patches for nxagent, x2goagent, nxauth, nxproxy.

parent 8199a5d2
nx-libs (2:3.5.0.5-0) UNRELEASED; urgency=low
* Fix wrapper script patches for nxagent, x2goagent, nxauth, nxproxy.
-- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Fri, 13 Jan 2012 00:35:56 +0100
nx-libs (2:3.5.0.4-0) unstable; urgency=low nx-libs (2:3.5.0.4-0) unstable; urgency=low
* Update/fix patch: 999_nxagent_unbrand-nxagent-brand-x2goagent.patch. * Update/fix patch: 999_nxagent_unbrand-nxagent-brand-x2goagent.patch.
......
--- /dev/null --- /dev/null
+++ b/bin/nxagent +++ b/bin/nxagent
@@ -0,0 +1,24 @@ @@ -0,0 +1,25 @@
+#!/bin/bash +#!/bin/bash
+ +
+# Copyright (C) 2012 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +# Copyright (C) 2012 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
+NX_LOCAL_LIBS=/usr/local/lib/nx +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 +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 +export LD_LIBRARY_PATH
+ +
+exec $NX_LIBS/nxagent "$@" +exec $NX_LIBS/nxagent "$@"
--- /dev/null --- /dev/null
+++ b/bin/nxauth +++ b/bin/nxauth
@@ -0,0 +1,24 @@ @@ -0,0 +1,25 @@
+#!/bin/bash +#!/bin/bash
+ +
+# Copyright (C) 2012 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +# Copyright (C) 2012 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
+NX_LOCAL_LIBS=/usr/local/lib/nx +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 +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 +export LD_LIBRARY_PATH
+ +
+exec $NX_LIBS/nxauth "$@" +exec $NX_LIBS/nxauth "$@"
--- /dev/null --- /dev/null
+++ b/bin/nxproxy +++ b/bin/nxproxy
@@ -0,0 +1,24 @@ @@ -0,0 +1,25 @@
+#!/bin/bash +#!/bin/bash
+ +
+# Copyright (C) 2012 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +# Copyright (C) 2012 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
+NX_LOCAL_LIBS=/usr/local/lib/nx +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 +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 +export LD_LIBRARY_PATH
+ +
+exec $NX_LIBS/nxproxy "$@" +exec $NX_LIBS/nxproxy "$@"
--- /dev/null --- /dev/null
+++ b/bin/x2goagent +++ b/bin/x2goagent
@@ -0,0 +1,24 @@ @@ -0,0 +1,25 @@
+#!/bin/bash +#!/bin/bash
+ +
+# Copyright (C) 2012 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> +# Copyright (C) 2012 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
+NX_LOCAL_LIBS=/usr/local/lib/nx +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 +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 +export LD_LIBRARY_PATH
+ +
+exec $NX_LIBS/../x2go/x2goagent "$@" +exec $NX_LIBS/../x2go/x2goagent "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment