diff --git a/programs/workspacesclient/install.bash b/programs/workspacesclient/install.bash index 80c8f70f..d9814b96 100755 --- a/programs/workspacesclient/install.bash +++ b/programs/workspacesclient/install.bash @@ -17,8 +17,10 @@ key="/usr/share/keyrings/workspaces-client-linux-public-key.gpg" wget -q -O - https://workspaces-client-linux-public-key.s3-us-west-2.amazonaws.com/ADB332E7.asc \ | sudo gpg --dearmor --yes --output "$key" -echo "deb [arch=amd64 signed-by=$key] https://d3nt0h4h6pmmc4.cloudfront.net/ubuntu focal main" \ -| sudo sponge /etc/apt/sources.list.d/amazon-workspaces-clients.list +source /etc/os-release + +echo "deb [arch=amd64 signed-by=$key] https://d3nt0h4h6pmmc4.cloudfront.net/ubuntu $VERSION_CODENAME main" \ +| sudo sponge /etc/apt/sources.list.d/amazon-workspaces-clients.list sudo apt-get update