aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/005_nxagent_add-nxagent-wrapper.patch
blob: 2d0123bccf7bc69a948b78f34a1d082d60ccf62c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- /dev/null
+++ b/bin/nxagent
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+NX_LIBS=/usr/lib/nx
+LD_LIBRARY_PATH=/usr/lib/nx:/usr/lib/nx/X11:$LD_LIBRARY_PATH
+
+export NX_LIBS
+export LD_LIBRARY_PATH
+
+exec /usr/lib/nx/nxagent "$@"