don't execute brew commands on linux
get rid of extra bracket