Bootstrap: siplify bash check.

This commit is contained in:
Artem Sapegin 2012-11-09 14:04:28 +04:00
parent 43daf50134
commit e4306a032b

View File

@ -4,5 +4,5 @@
brew install bash 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 chsh -s /usr/local/bin/bash $USER