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

This commit is contained in:
ryan.kuba 2023-06-22 17:09:38 -04:00
parent 7b9363dae7
commit 014a35344d
No known key found for this signature in database

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