Unix & Linux: I get "syntax error near unexpected token 'else' for the following script

Published --
Recommendations