taylor / kiex

Elixir version manager
http://taylor.github.io/kiex/
MIT License
766 stars 65 forks source link

fix Gentoo detection #55

Closed schnittchen closed 7 years ago

schnittchen commented 7 years ago

I got

bash: line 48: ((: > 0 : syntax error: operand expected (error token is "> 0 ")

Simplified the check, I believe the others could be simplified as well (grep exit status should be 0 iff something was found).