Unless you're using the KDE4 GUI, you should be able to safely ignore this.
Might I ask what shell you're using? /bin/sh --version
The script is taking issue with the fi termination of the if statement. If you're using the older C shell, that's one possible explanation for the error.