mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(gateway): Fix conditional used to check for upgrades (#4796)
See https://firezonehq.slack.com/archives/C06L41XN05T/p1714071689814809
This commit is contained in:
@@ -61,7 +61,7 @@ if [ ! -e /usr/local/bin/firezone-gateway ]; then
|
||||
# See https://www.github.com/firezone/firezone/releases for available binaries
|
||||
curl -fsSL https://www.firezone.dev/dl/firezone-gateway/latest/\$arch -o /tmp/firezone-gateway
|
||||
|
||||
if [ -x /tmp/firezone-gateway ]; then
|
||||
if file /tmp/firezone-gateway | grep -q "executable"; then
|
||||
mv /tmp/firezone-gateway /usr/local/bin/firezone-gateway
|
||||
else
|
||||
echo "/tmp/firezone-gateway is not an executable!"
|
||||
|
||||
Reference in New Issue
Block a user