Created
July 10, 2016 10:52
-
-
Save spicydog/29c4d4346e95bb70b8d4be1c43cc9565 to your computer and use it in GitHub Desktop.
Install btsync on Debian and Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-key adv --keyserver keys.gnupg.net --recv-keys 6BF18B15 | |
CODENAME=$(lsb_release -cs | sed -n '/lucid\|precise\|quantal\|raring\|saucy\|trusty\|squeeze\|wheezy\|jessie\|sid/p') | |
echo "" >> /etc/apt/sources.list | |
echo "#### BitTorrent Sync - see: http://forum.bittorrent.com/topic/18974-debian-and-ubuntu-server-packages-for-bittorrent-sync-121-1/" >> /etc/apt/sources.list | |
echo "## Run this command: apt-key adv --keyserver keys.gnupg.net --recv-keys 6BF18B15" >> /etc/apt/sources.list | |
echo "deb http://debian.yeasoft.net/btsync ${CODENAME:-sid} main" >> /etc/apt/sources.list | |
echo "deb-src http://debian.yeasoft.net/btsync ${CODENAME:-sid} main" >> /etc/apt/sources.list | |
unset CODENAME | |
apt-get update | |
apt-get -y install btsync |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment