if and else condition in shell script