This commit is contained in:
2025-12-14 17:38:08 -06:00
parent b4ad1ecdc1
commit 28f57b2e51
2 changed files with 32 additions and 1 deletions

View File

@@ -1,5 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Wrapper script for install, for easier execution via URL.
if [ -d /opt/idssys/defaults ]; then if [ -d /opt/idssys/defaults ]; then
source /opt/idssys/defaults/colors.inc source /opt/idssys/defaults/colors.inc

32
install-ta_proxmenu.sh Executable file
View File

@@ -0,0 +1,32 @@
#!/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
[ "$EUID" -ne 0 ] && PTFUNC="sudo ${ATYPE}" || APTFUNC="${ATYPE}"
echo -e "\n${idsCL[LightGreen]}LinUPx Installation Script${idsCL[Default]}"
do_with_root $APTFUNC -y install wget curl git jq
do_with_root set -eu
do_with_root git clone https://git.schroedercity.com/TAI/TA-ProxMenu.git /opt/idssys/ta-proxmenu
do_with_root ln -s /opt/idssys/ta-proxmenu/run.sh /usr/local/bin/tapm
if [ ! -d "/opt/idssys/defaults" ]; then
do_with_root set -eu
do_with_root 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