Merge branch 'bugfix/KASM-4580-chromium-image-fix' into 'develop'

KASM-4580 change detection logic to ensure chromium installs on the single app image

Closes KASM-4580

See merge request kasm-technologies/internal/workspaces-images!122
This commit is contained in:
Richard Koliser 2023-06-22 23:35:53 +00:00
commit fb12233daa

View File

@ -4,7 +4,7 @@ set -ex
CHROME_ARGS="--password-store=basic --no-sandbox --ignore-gpu-blocklist --user-data-dir --no-first-run --simulate-outdated-no-au='Tue, 31 Dec 2099 23:59:59 GMT'"
ARCH=$(arch | sed 's/aarch64/arm64/g' | sed 's/x86_64/amd64/g')
if [[ "${DISTRO}" == @(debian|opensuse|ubuntu) ]] && [ ${ARCH} = 'amd64' ] && [ -n ${SKIP_CLEAN+x} ]; then
if [[ "${DISTRO}" == @(debian|opensuse|ubuntu) ]] && [ ${ARCH} = 'amd64' ] && [ ! -z ${SKIP_CLEAN+x} ]; then
echo "not installing chromium on x86_64 desktop build"
exit 0
fi