I'm getting a syntax error when trying to install Bumblebee (Hardware graphics switcher). I'm running Ubuntu 11.04. My computer is a Sony Vaio Z (VPCZ122Gx). The github page is here: https://github.com/MrMEEE/bumblebee
Bumblebee (previously called prime-ng) is the linux alternative to the Nvidia Optimus features in Windows
The syntax error is:
./install.sh: line 532: syntax error near unexpected token `[' ./install.sh: line 532: ` if [ -f /usr/local/bin/bumblebee-enablecard ]'
Thanks in advance!