Skip to content

Commit

Permalink
Fix NICE DCV Viewer for Ubuntu 24
Browse files Browse the repository at this point in the history
  • Loading branch information
iainelder committed Dec 8, 2024
1 parent c77d946 commit e9b9806
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions programs/nice-dcv-viewer/install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ curl
# Load DISTRIB_RELEASE environment variable.
source /etc/lsb-release

if [[ "$DISTRIB_RELEASE" == "20.04" ]]; then
package_url="https://d1uj6qtbmh3dt5.cloudfront.net/nice-dcv-viewer_amd64.ubuntu2004.deb"
elif [[ "$DISTRIB_RELEASE" == "22.04" ]]; then
package_url="https://d1uj6qtbmh3dt5.cloudfront.net/nice-dcv-viewer_amd64.ubuntu2204.deb"
fi
case "$DISTRIB_RELEASE" in
"20.04")
package_url="https://d1uj6qtbmh3dt5.cloudfront.net/nice-dcv-viewer_amd64.ubuntu2004.deb"
;;
"22.04")
package_url="https://d1uj6qtbmh3dt5.cloudfront.net/nice-dcv-viewer_amd64.ubuntu2204.deb"
;;
"24.04")
package_url="https://d1uj6qtbmh3dt5.cloudfront.net/nice-dcv-viewer_amd64.ubuntu2404.deb"
esac

download_filename=$(
curl \
Expand Down

0 comments on commit e9b9806

Please sign in to comment.