Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- mkdir /opt/uTorrent
- cd /opt/uTorrent
- #:::::::::: Begin ::::::::::
- if [ `getconf LONG_BIT` = "64" ]
- then
- arch="x64"
- else
- arch=""
- fi
- url=`wget http://www.utorrent.com/intl/it/downloads/complete/os/lin/track/stable$arch -O- | grep 'id="auto-client-download-link"' | sed -e 's/^.*href="//' -e 's/">fai.*$//'`
- wget $url
- #::::::::::: End :::::::::::
- tar -xvpzf utorrent-server-3.0-ubuntu-10.10-27079.x64.tar.gz
- rm utorrent-server-3.0-ubuntu-10.10-27079.x64.tar.gz
- cp uTorrent /usr/bin/uTorrent
- cp utserverloader /usr/bin/utserverloader
- cp uTorrent.desktop /usr/share/applications/uTorrent.desktop
- cp uTorrent.png /usr/share/pixmaps/uTorrent.png
- cp gnutorrent-remove /usr/bin/gnutorrent-remove
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement