35 lines
1.2 KiB
Bash
Executable File
35 lines
1.2 KiB
Bash
Executable File
#!/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]}"
|
|
if [ ! -f /etc/apt/sources.list.d/gyptazy.list ]; then
|
|
curl https://git.gyptazy.com/api/packages/gyptazy/debian/repository.key -o /etc/apt/keyrings/gyptazy.asc
|
|
echo "deb [signed-by=/etc/apt/keyrings/gyptazy.asc] https://packages.gyptazy.com/api/packages/gyptazy/debian trixie main" | sudo tee -a /etc/apt/sources.list.d/gyptazy.list
|
|
apt update0
|
|
fi
|
|
apt -y install wget curl git jq sudo 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 |