Update laravel.sh

Resolve syntax error with if[] then else. This is the same error that was happening in issue #121.