Bug#335976: /etc/init.d/nvidia-kernel contains bashisms

2005-10-28 Thread Jamie Heilman
New version is still broken. The way 20051026+1 is written, if NVIDIA_CARDS is 0 then make_nodes is still run, possibly creating /dev/nvidiactl needlessly. Also, expr in bash apparently lets you get away with the form of variable expansion you used, but dash does not. Look at the patch I gave you

Bug#335976: /etc/init.d/nvidia-kernel contains bashisms

2005-10-26 Thread Jamie Heilman
Package: nvidia-kernel-common Version: 20051025+1 Severity: grave Setting up nvidia-kernel-common (20051025+1) ... /etc/init.d/nvidia-kernel: 19: Syntax error: Bad for loop variable invoke-rc.d: initscript nvidia-kernel, action "start" failed. "for (( expr1 ; expr2 ; expr3 )) ; do list ; done" sy