Skip to content

Instantly share code, notes, and snippets.

@maran
Created September 1, 2011 15:20
Show Gist options
  • Save maran/1186404 to your computer and use it in GitHub Desktop.
Save maran/1186404 to your computer and use it in GitHub Desktop.
Rollback to 1.3.2
#!/bin/bash
wget http://git.deluge-torrent.org/deluge/snapshot/deluge-1.3.2.tar.gz
tar -zxvf deluge-1.3.2.tar.gz
virtualenv ~/deluge
source ~/deluge/bin/activate
cd ~/deluge-1.3.2
sed -ibackup s/-dev// setup.cfg
python setup.py clean -a
python setup.py build
python setup.py install
sed -ibackup "s/\/usr\/local\/bin\/deluged/\~\/deluge\/bin\/deluged/" ~/.startup
sed -ibackup "s/\/usr\/local\/bin\/deluge-web/\~\/deluge\/bin\/deluge-web/" ~/.startup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment