mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2025-06-26 12:31:31 +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
|
fi
|
||||||
|
|
||||||
# This might prove fragile depending on how often slack changes it's website.
|
# 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
|
echo Detected slack version $version
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user