2020-03-17 18:25:54 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo -e "Installing Astroport"
|
|
|
|
|
|
|
|
# Install IPFS
|
|
|
|
ipfs() {
|
2020-03-19 21:33:13 +01:00
|
|
|
curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/.install/ipfs.sh | bash
|
2020-03-17 18:25:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
# Install ScuttleButt
|
2020-03-19 21:33:13 +01:00
|
|
|
sbotc() {
|
|
|
|
curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/.install/scuttlebutt.sh | bash
|
2020-03-17 18:25:54 +01:00
|
|
|
}
|
|
|
|
|
2020-03-19 18:19:28 +01:00
|
|
|
# Install YGGTorrentScraper
|
|
|
|
yggts() {
|
2020-03-19 21:33:13 +01:00
|
|
|
echo -e "${c_yellow}Installing YGGTorrentScraper...$c_"
|
|
|
|
[[ -z $(which pip3) ]] && sudo apt install python3-pip
|
|
|
|
pip3 install yggtorrentscraper
|
2020-03-19 18:19:28 +01:00
|
|
|
}
|
|
|
|
|
2020-03-17 18:25:54 +01:00
|
|
|
# Check installs
|
2020-03-19 21:33:13 +01:00
|
|
|
[[ -z $(which ipfs) ]] && ipfs
|
|
|
|
[[ -z $(pip3 freeze | grep yggtorrentscraper) ]] && sbotc
|
2020-03-17 18:25:54 +01:00
|
|
|
|
|
|
|
echo -e "Installation Complete"
|
|
|
|
|
|
|
|
exit 0
|