OpenAFS on Yosemite (Mac)

After upgrade of the OS on my MAC to Yosemite AFS was not working and on the OpenAFS there was no sign of new release.  I found a workaround on google that worked for me.

1) Download the OpenAFS for OS X (OpenAFS-1.6.6-Mavericks.dmg)

2) Edit /Volumes/OpenAFS/OpenAFS.pkg/Contents/Resources/InstallationCheck with your favorite text editor. Change the the line

|if [ $majorvers -ne 13 ]; then
|

to

|if [ $majorvers -ne 14 ]; then
|

3) Run the OpenAFS.pkg installer (will no longer complain about OS X version).

Note: you need to pick the .pkg from the .dmg to your hard-drive