Bootstrap: siplify bash check.

This commit is contained in:
Artem Sapegin 2012-11-09 14:04:28 +04:00
parent 43daf50134
commit e4306a032b
1 changed files with 1 additions and 1 deletions

View File

@ -4,5 +4,5 @@
brew install bash
grep '/usr/local/bin/bash' /etc/shells >/dev/null 2>&1 && sudo bash -c "echo /usr/local/bin/bash >> /etc/shells"
grep -Fxq '/usr/local/bin/bash' /etc/shells || sudo bash -c "echo /usr/local/bin/bash >> /etc/shells"
chsh -s /usr/local/bin/bash $USER