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)"
|
source /dev/stdin <<< "$(curl -sL http://go.scity.us/defaultinc)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
[ "$EUID" -ne 0 ] && PTFUNC="sudo ${ATYPE}" || APTFUNC="${ATYPE}"
|
|
||||||
echo -e "\n${idsCL[LightGreen]}LinUPx Installation Script${idsCL[Default]}"
|
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
|
set -eu
|
||||||
do_with_root git clone https://git.schroedercity.com/TAI/TA-ProxMenu.git /opt/idssys/ta-proxmenu
|
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
|
ln -s /opt/idssys/ta-proxmenu/run.sh /usr/local/bin/tapm
|
||||||
|
|
||||||
if [ ! -d "/opt/idssys/defaults" ]; then
|
if [ ! -d "/opt/idssys/defaults" ]; then
|
||||||
do_with_root set -eu
|
git clone https://git.schroedercity.com/voltron/iDS-Defaults.git /opt/idssys/defaults
|
||||||
do_with_root git clone https://git.schroedercity.com/voltron/iDS-Defaults.git /opt/idssys/defaults
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user