Change if statement syntax of install script