Fixed bashrc file check function in install.sh