fix install stuff

This commit is contained in:
poka 2020-03-19 22:21:19 +01:00
parent ef4764c424
commit cbe1175a95
3 changed files with 4 additions and 22 deletions

View File

@ -27,3 +27,4 @@ ipfs() {
sudo systemctl enable ipfs || err+="Enable IPFS daemon"
}
$@

View File

@ -3,3 +3,5 @@
scuttlebutt() {
echo "TODO"
}
$@

View File

@ -63,28 +63,7 @@ iptubes() {
}
# Install Torrengo
torrengo() {
cd $MY_PATH/iptubes
## Install GO
wget https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz -P /tmp/
sudo tar -C /usr/local -xzf /tmp/go1.13.4.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
source ~/.profile
## Install torrengo
go get github.com/juliensalinas/torrengo
go build github.com/juliensalinas/torrengo
go get github.com/juliensalinas/torrengo/ygg
sudo chmod ug+x torrengo
pathTorrengo=$(realpath torrengo)
cd /usr/bin
sudo ln -sf $pathTorrengo .
cd $MY_PATH
rm /tmp/go1.13.4.linux-amd64.tar.gz
}
source iptubes/install.sh torrengo
# --------------------------