It's been some time since i upgraded my wordpress upgrade script. Several reasons why, partially because i had patches from other people to merge in, partially laziness on my part (being busy with other things).
However, the good news is, it is here, and its amazing and awesome and you should never need to update the script again. Now we are using all APIs to get the latest wordpress version, as well as upgrading the plugins and themes.
Not only that, but it can now run from cron and just notify you of updates (without running the updates), as well as checking for dependencies
So this is how you get it, and how it works.
wget http://b.ri.mu/files/wordpress-upgrade.sh chmod +x wordpress-upgrade.sh
By default, when you run it, it checks /home and /var/www for old wordpress installs, and offers to upgrade those. If your blogs are located in either just run it as is
If you have a different place you can do it like this
./wordpress-upgrade.sh --path /opt/some/path
Another feature i added, was the ability to run it on a crontab. This just detects where the wordpress installs are out of date, and you can output that to email (using MAILTO variable) or pretty much anything you want.
If you have a different path, you can run it like this
./wordpress-upgrade.sh -c /opt/some/path
This has been tested and should work on both deb/apt based, and rpm based systems. If you have any bugs, patches or other information that can help us make this work better, by all means email me liz at rimuhosting dot com