Add transmission install and check p2plegal infra
This commit is contained in:
parent
5650a3477b
commit
0f2cf9f36d
|
@ -6,23 +6,31 @@
|
|||
# Git: https://git.p2p.legal/axiom-team/astroport
|
||||
################################################################################
|
||||
|
||||
echo -e "Installing Astroport"
|
||||
isp2plegal=$(nc -zv -w 1 192.168.9.19 3000 2<&1)
|
||||
if [[ "$isp2plegal" =~ "(?) open" ]]; then
|
||||
isp2plegalbool=true
|
||||
giturl="http://192.168.9.19:3000"
|
||||
else
|
||||
isp2plegalbool=false
|
||||
giturl="https://git.p2p.legal"
|
||||
fi
|
||||
|
||||
echo -e "Installing IPTubes"
|
||||
|
||||
# Install IPFS
|
||||
ipfs() {
|
||||
curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/.install/ipfs.sh | bash -s ipfs
|
||||
curl -s $giturl/axiom-team/astroport/raw/master/.install/ipfs.sh | bash -s ipfs
|
||||
}
|
||||
|
||||
# Install ScuttleButt
|
||||
sbotc() {
|
||||
curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/.install/scuttlebutt.sh | bash -s scuttlebutt
|
||||
curl -s $giturl/axiom-team/astroport/raw/master/.install/scuttlebutt.sh | bash -s scuttlebutt
|
||||
}
|
||||
|
||||
# Install YGGTorrentScraper
|
||||
yggts() {
|
||||
echo -e "${c_yellow}Installing YGGTorrentScraper...$c_"
|
||||
# [[ -z $(which pip3) ]] && sudo apt install python3-pip
|
||||
#pip3 install yggtorrentscraper
|
||||
# Install Transmission
|
||||
transmisison() {
|
||||
echo -e "${c_yellow}Installing Transmision...$c_"
|
||||
sudo apt install transmission-daemon --install-suggests
|
||||
}
|
||||
|
||||
torrengo() {
|
||||
|
@ -47,7 +55,8 @@ torrengo() {
|
|||
|
||||
# Check installs
|
||||
[[ -z $(which ipfs) ]] && ipfs
|
||||
[[ -z $(pip3 freeze | grep yggtorrentscraper) ]] && sbotc
|
||||
[[ -z $(which sbotc) ]] && sbotc
|
||||
[[ -z $(which transmission-daemon) ]] && transmission
|
||||
|
||||
echo -e "Installation Complete"
|
||||
|
||||
|
|
Loading…
Reference in New Issue