shell script or condition in if statement