when you run opengl-update to switch between the xfree and nvidia libraries it doesn't work when you have no parameters: # opengl-update * Switching to OpenGL interface... [ok] then your LDPATH is screwed up: # cat /etc/env.d/09opengl LDPATH=/usr/lib/opengl//lib it should read "LDPATH=/usr/lib/opengl/xfree/lib" (or nvidia instead of xfree). Also, the links it creates are pointing to invalid files: /usr/lib/libGL.so -> /usr/lib/opengl//lib/ /usr/lib/libGL.so.1 -> /usr/lib/opengl//lib/ If I pass no argument to opengl-update, it should print out the usage() message instead of telling me everything is okay. I looked at the shell script but I don't know anything about bash programming so I thought I'd just file a bug report.
Created attachment 6829 [details, diff] patch to check for zero arguments Here's a quick patch to solve the problem. It just checks to see if the number of arguments ("$#") equals 0 and prints the usage. I'm not a bash shell programmer so there's probably a better way to do it. Maybe even print out if your using xfree or nvidia when there are no arguments.. that'd be cooler.
Hrm, braindead moment there for me =) Fixed like it should have been the first time, thanks. Try 1.5 ....