If you get the following text when you try to install ATI’s driver on Ubuntu Dapper or Edgy
sege@lightning:~/$ sudo ./ati-driver-installer-8.30.3.run
Ubuntu/dapper
Creating directory fglrx-install
Verifying archive integrity… All good.
Uncompressing ATI Proprietary Linux
Driver-8.30.3………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………
-e ==================================================
-e ATI Technologies Linux Driver Installer/Packager
-e ==================================================
./ati-installer.sh: 991: Syntax error: Bad substitution
Removing temporary directory: fglrx-install
sege@lightning:~/$
do the following. By default /bin/sh is a symlink to /bin/dash and ATI’s driver wants /bin/bash for some reason.
johan@roadrunner:~$ ls -la /bin/sh
lrwxrwxrwx 1 root root 4 2006-10-27 16:40 /bin/sh -> dash
To fix this, execute this commands:
sudo mv /bin/sh /bin/sh_old
sudo ln -s /bin/bash /bin/sh
Now, installing your best ATI driver should work just fine. If you want to switch back to dash as default sh to this:
sudo rm /bin/sh && sudo mv /bin/sh_old /bin/sh


