Skip to content

Commit

Permalink
upgrade to Ngrok v3 (#245)
Browse files Browse the repository at this point in the history
- for the ARM version this is as simple as downloading the new file
- for the AMD64 version we'll now download the new file, but since it's a `.tgz` file now, we'll also switch from `zip` to `tar` to unpack it
  • Loading branch information
browner12 authored Jan 27, 2023
1 parent 78ea2ad commit 4fe7350
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions scripts/amd64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -762,9 +762,9 @@ systemctl enable supervisor.service
service supervisor start

# Install ngrok
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
unzip ngrok-stable-linux-amd64.zip -d /usr/local/bin
rm -rf ngrok-stable-linux-amd64.zip
wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz
tar xvzf ngrok-v3-stable-linux-amd64.tgz -C /usr/local/bin
rm -rf ngrok-v3-stable-linux-amd64.tgz

# Install & Configure Postfix
echo "postfix postfix/mailname string homestead.test" | debconf-set-selections
Expand Down
6 changes: 3 additions & 3 deletions scripts/arm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -774,9 +774,9 @@ systemctl enable supervisor.service
service supervisor start

# Install ngrok ARM
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm64.tgz
tar xvzf ngrok-stable-linux-arm64.tgz -C /usr/local/bin
rm -rf ngrok-stable-linux-arm64.tgz
wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-arm64.tgz
tar xvzf ngrok-v3-stable-linux-arm64.tgz -C /usr/local/bin
rm -rf ngrok-v3-stable-linux-arm64.tgz

# Install & Configure Postfix
echo "postfix postfix/mailname string homestead.test" | debconf-set-selections
Expand Down

0 comments on commit 4fe7350

Please sign in to comment.