Ubuntu: How do I solve this "unexpected '}' syntax error" in my bash script?

Published --