SABnzbd+ automatic upgrade script
SABnzbd+ is an awesome open-source project, but it lacks an automatic update mechanism. On Windows or OSX it could be an auto-update executable, but if you run it from the source, you have to cook a script by yourself. That's what I did.
This script supposes :
- you have SABnzdb+ running with https support and installed in "~/bin/SABnzdb"
- you store the previous SABnzdb+ versions in "~/archives/"
To upgrade to the latest version, just paste that on your server :
curl -fsSL https://raw.github.com/czj/sabnzbd-upgrade/master/sabznbd_upgrade.sh | sh
Or download the shell script and run it :