mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2025-06-26 04:21:22 +02:00
KASM-7016 Fix Slack not detecting version in NZ
This commit is contained in:
parent
8f4a7e6dbc
commit
89e5d9caf3
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user