update
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
# Wrapper script for install, for easier execution via URL.
|
||||
|
||||
if [ -d /opt/idssys/defaults ]; then
|
||||
source /opt/idssys/defaults/colors.inc
|
||||
|
||||
32
install-ta_proxmenu.sh
Executable file
32
install-ta_proxmenu.sh
Executable 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
|
||||
Reference in New Issue
Block a user