homebrewが"Error: SHA1 mismatch"でこける

homebrewが"Error: SHA1 mismatch"でこける
omakeをインストールしようと思って何気に"brew instal omake"したら

$ brew install omake
==> Installing o-make dependency: objective-caml
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/objective-caml-3.12.1-bottle.tar.gz
######################################################################## 100.0%
Error: SHA1 mismatch
Expected: 9bab332759a8262b07b2df46d09ab7c2026837cb
Got: f32709be6cba5639a3f7185835963d630d6f8b59
Archive: /Users/xxx/Library/Caches/Homebrew/objective-caml-3.12.1.bottle.tar.gz
(To retry an incomplete download, remove the file above.)

あれ?こけた/(^o^)\

調べたらアップデートすればいいらしい。
https://github.com/mxcl/homebrew/issues/9681

こけたファイルを削除してアップデート後再実行

$ rm /Users/xxx/Library/Caches/Homebrew/objective-caml-3.12.1.bottle.tar.gz
$ brew update
$ brew install omake

Warningでたけどとりあえず成功したっぽい。よくよく考えりゃずっとbrew updateしてなかったほうがおかしいですね、反省。