#!/usr/bin/env bash if [ -d /opt/idssys/defaults ]; then source /opt/idssys/defaults/colors.inc source /opt/idssys/defaults/default.inc else source /dev/stdin <<< "$(curl -sL http://go.scity.us/colorsinc)" source /dev/stdin <<< "$(curl -sL http://go.scity.us/defaultinc)" fi echo -e "\n${idsCL[LightGreen]}LinUPx Installation Script${idsCL[Default]}" apt -y install wget curl git jq sudo if [ ! -f /etc/apt/sources.list.d/proxlb.list ]; then echo "deb https://repo.gyptazy.com/stable /" > /etc/apt/sources.list.d/proxlb.list wget -O /etc/apt/trusted.gpg.d/proxlb.asc https://repo.gyptazy.com/repository.gpg apt-get update fi apt -y install proxclmc apt -y install proxclmc set -eu git clone https://git.schroedercity.com/TAI/TA-ProxMenu.git /opt/idssys/ta-proxmenu ln -s /opt/idssys/ta-proxmenu/run.sh /usr/local/bin/tapm if [ ! -d "/opt/idssys/defaults" ]; then git clone https://git.schroedercity.com/voltron/iDS-Defaults.git /opt/idssys/defaults fi echo "" echo -e "${idsCL[Yellow]}TA-ProxMenu has been Installed${idsCL[Default]}" echo "" echo -e "To run updates, use the command: ${idsCL[Green]}tapm${idsCL[Default]}" echo "" echo "" exit 0