astroport-iptubes/install.sh

29 lines
658 B
Bash

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