fix install stuff
This commit is contained in:
parent
ef4764c424
commit
cbe1175a95
|
@ -27,3 +27,4 @@ ipfs() {
|
||||||
sudo systemctl enable ipfs || err+="Enable IPFS daemon"
|
sudo systemctl enable ipfs || err+="Enable IPFS daemon"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$@
|
||||||
|
|
|
@ -3,3 +3,5 @@
|
||||||
scuttlebutt() {
|
scuttlebutt() {
|
||||||
echo "TODO"
|
echo "TODO"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$@
|
||||||
|
|
23
install.sh
23
install.sh
|
@ -63,28 +63,7 @@ iptubes() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Install Torrengo
|
# Install Torrengo
|
||||||
torrengo() {
|
source iptubes/install.sh 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
|
|
||||||
}
|
|
||||||
|
|
||||||
# --------------------------
|
# --------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue