Compare commits

...

2 Commits

Author SHA1 Message Date
Jeevitha Kannan K S
deb4223089
Merge 003c99cb52 into f5f38243f0 2024-11-08 05:34:11 +05:30
JEEVITHA KANNAN K S
003c99cb52
add aarch64 2024-11-04 08:55:43 +05:30

View File

@ -4,8 +4,17 @@
installNgrok() {
if ! command_exists ngrok; then
printf "%b\n" "${YELLOW}Installing Ngrok...${RC}"
curl -sSLO https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz | "$ESCALATION_TOOL" tar -xz -C /usr/local/bin
printf "%b\n" "${YELLOW}Installing Ngrok.${RC}"
case "$ARCH" in
x86_64)
url="https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz"
;;
aarch64)
url="https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm64.tgz"
;;
esac
curl -sSL "$url" -o ngrok.tgz
"$ESCALATION_TOOL" tar -xzf ngrok.tgz -C /usr/local/bin
else
printf "%b\n" "${GREEN}Ngrok is already installed.${RC}"
fi
@ -13,4 +22,4 @@ installNgrok() {
checkEnv
checkEscalationTool
installNgrok
installNgrok