summaryrefslogtreecommitdiff
path: root/emulators/virtualbox-ose-additions/files/patch-src-VBox-Additions-x11-Installer-98vboxadd-xclient
blob: edb9514f95c54f84536d5ae4b691eeb9a31a691d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- src/VBox/Additions/x11/Installer/98vboxadd-xclient.orig	2010-09-10 14:24:55.000000000 +0200
+++ src/VBox/Additions/x11/Installer/98vboxadd-xclient	2010-12-29 20:42:00.000000000 +0100
@@ -28,8 +28,8 @@
 xorgbin=Xorg
 found=`which Xorg | grep "no Xorg"`
 if test ! -z "$found"; then
-    if test -f "/usr/X11/bin/Xorg"; then
-        xorgbin=/usr/X11/bin/Xorg
+    if test -f "/usr/local/bin/Xorg"; then
+        xorgbin=/usr/local/bin/Xorg
     else
         exit 1
     fi
@@ -40,9 +40,9 @@
     no_display=1
 fi
 
-/usr/bin/VBoxClient --clipboard
-/usr/bin/VBoxClient --checkhostversion
+/usr/local/bin/VBoxClient --clipboard
+/usr/local/bin/VBoxClient --checkhostversion
 test -z "$no_display" &&
-    /usr/bin/VBoxClient --display
+    /usr/local/bin/VBoxClient --display
 test -z "$no_display" &&
-    /usr/bin/VBoxClient --seamless
+    /usr/local/bin/VBoxClient --seamless