Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37778075
en ru br
ALT Linux repos
S:3.0.1-alt1

Group :: Graphics
RPM: virtualgl

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: virtualgl-2.5.2-alt-libexec-path-fix.patch
Download


diff --git a/server/vglrun.in b/server/vglrun.in
index 27af814..3a5ee65 100644
--- a/server/vglrun.in
+++ b/server/vglrun.in
@@ -218,11 +218,11 @@ fi
 
 # This is so we can launch both 32-bit and 64-bit executables using the same
 # script.
-if [ -x "$MYPATH/.vglrun.vars64" ]; then
-	. "$MYPATH/.vglrun.vars64"
+if [ -x "/usr/lib/vglrun.vars64" ]; then
+       . "/usr/lib/vglrun.vars64"
 fi
-if [ -x "$MYPATH/.vglrun.vars32" ]; then
-	. "$MYPATH/.vglrun.vars32"
+if [ -x "/usr/lib/vglrun.vars32" ]; then
+       . "/usr/lib/vglrun.vars32"
 fi
 if [ ! -z "$VGL_LIBRARY_PATH" ]; then
 	LD_LIBRARY_PATH=$VGL_LIBRARY_PATH:$LD_LIBRARY_PATH
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin