Update install-ta_proxmenu.sh
This commit is contained in:
@@ -8,18 +8,15 @@ else
|
||||
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 sudo
|
||||
apt -y install wget curl git jq sudo
|
||||
|
||||
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
|
||||
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
|
||||
do_with_root set -eu
|
||||
do_with_root git clone https://git.schroedercity.com/voltron/iDS-Defaults.git /opt/idssys/defaults
|
||||
git clone https://git.schroedercity.com/voltron/iDS-Defaults.git /opt/idssys/defaults
|
||||
fi
|
||||
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user