mirror of
https://github.com/kasmtech/workspaces-images.git
synced 2024-11-25 09:33:08 +01:00
KASM-6191 Update slack download location
This commit is contained in:
parent
d893e1061b
commit
ee0c036563
@ -14,7 +14,7 @@ echo Detected slack version $version
|
|||||||
|
|
||||||
if [[ "${DISTRO}" == @(centos|oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38|fedora39|fedora40|opensuse) ]]; then
|
if [[ "${DISTRO}" == @(centos|oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38|fedora39|fedora40|opensuse) ]]; then
|
||||||
|
|
||||||
wget -q https://downloads.slack-edge.com/releases/linux/${version}/prod/x64/slack-${version}-0.1.el8.x86_64.rpm
|
wget -q https://downloads.slack-edge.com/desktop-releases/linux/x64/${version}/slack-${version}-0.1.el8.x86_64.rpm
|
||||||
|
|
||||||
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38|fedora39|fedora40) ]]; then
|
if [[ "${DISTRO}" == @(oracle8|rockylinux9|rockylinux8|oracle9|almalinux9|almalinux8|fedora37|fedora38|fedora39|fedora40) ]]; then
|
||||||
dnf localinstall -y slack-${version}-0.1.el8.x86_64.rpm
|
dnf localinstall -y slack-${version}-0.1.el8.x86_64.rpm
|
||||||
@ -38,7 +38,7 @@ if [[ "${DISTRO}" == @(centos|oracle8|rockylinux9|rockylinux8|oracle9|almalinux9
|
|||||||
rm slack-${version}-0.1.el8.x86_64.rpm
|
rm slack-${version}-0.1.el8.x86_64.rpm
|
||||||
|
|
||||||
else
|
else
|
||||||
wget -q https://downloads.slack-edge.com/releases/linux/${version}/prod/x64/slack-desktop-${version}-${ARCH}.deb
|
wget -q https://downloads.slack-edge.com/desktop-releases/linux/x64/${version}slack-desktop-${version}-amd64.deb
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y ./slack-desktop-${version}-${ARCH}.deb
|
apt-get install -y ./slack-desktop-${version}-${ARCH}.deb
|
||||||
rm slack-desktop-${version}-${ARCH}.deb
|
rm slack-desktop-${version}-${ARCH}.deb
|
||||||
|
Loading…
Reference in New Issue
Block a user