From 89e5d9caf31844b3c07daed39d1aa896e8fb5d47 Mon Sep 17 00:00:00 2001 From: Dmitry Maksyoma Date: Mon, 17 Mar 2025 18:07:04 +1300 Subject: [PATCH] KASM-7016 Fix Slack not detecting version in NZ --- src/ubuntu/install/slack/install_slack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ubuntu/install/slack/install_slack.sh b/src/ubuntu/install/slack/install_slack.sh index 8c69d23..8aad392 100644 --- a/src/ubuntu/install/slack/install_slack.sh +++ b/src/ubuntu/install/slack/install_slack.sh @@ -8,7 +8,7 @@ if [ "${ARCH}" == "arm64" ] ; then fi # This might prove fragile depending on how often slack changes it's website. -version=$(curl -q https://slack.com/downloads/linux | grep page-downloads__hero__meta-text__version | sed 's/.*Version //g' | cut -d "<" -f1 | head -1) +version=$(wget -O- https://slack.com/downloads/linux | grep page-downloads__hero__meta-text__version | sed 's/.*Version //g' | cut -d "<" -f1 | head -1) echo Detected slack version $version