Script to keep OmniFocus 2 beta up to date

On May 9th OmniGroup changed the filenames for OmniFocus betas.

Now instead of this

http://omnistaging.omnigroup.com/omnifocus-2/releases/OmniFocus-2-r209335-Test.dmg

they are using this

http://omnistaging.omnigroup.com/omnifocus-2/releases/OmniFocus-2.0.x-r209381-Test.dmg

This breaks my old script.

I have uploaded a new one to http://files.terminallygeeky.com/keep-omnifocus2-beta-up-to-date/keep-omnifocus2-beta-up-to-date.sh

You’ll need to replace your existing /usr/local/bin/keep-omnifocus2-beta-up-to-date.sh with the new one.

To do this in Terminal:

change directories:

cd /usr/local/bin/

delete the old one:

sudo rm -f keep-omnifocus2-beta-up-to-date.sh

Note: you will be asked for your administrator password.

Download the new one. Note that this should be all one line:

curl -L -o keep-omnifocus2-beta-up-to-date.sh http://files.terminallygeeky.com/keep-omnifocus2-beta-up-to-date/keep-omnifocus2-beta-up-to-date.sh

Once that is done, make sure it is executable:

chmod 755 keep-omnifocus2-beta-up-to-date.sh

That should do it.