chore: allow installing Google Chrome on Debian (#24386)

Fixes https://github.com/microsoft/playwright/issues/24357
This commit is contained in:
Max Schmitt 2023-07-25 00:52:19 +02:00 committed by GitHub
parent c4ecdcfc22
commit 5c41c6e799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 10 deletions

View File

@ -13,8 +13,8 @@ if [[ ! -f "/etc/os-release" ]]; then
fi
ID=$(bash -c 'source /etc/os-release && echo $ID')
if [[ "${ID}" != "ubuntu" ]]; then
echo "ERROR: cannot install on $ID distribution - only Ubuntu is supported"
if [[ "${ID}" != "ubuntu" && "${ID}" != "debian" ]]; then
echo "ERROR: cannot install on $ID distribution - only Ubuntu and Debian are supported"
exit 1
fi

View File

@ -13,8 +13,8 @@ if [[ ! -f "/etc/os-release" ]]; then
fi
ID=$(bash -c 'source /etc/os-release && echo $ID')
if [[ "${ID}" != "ubuntu" ]]; then
echo "ERROR: cannot install on $ID distribution - only Ubuntu is supported"
if [[ "${ID}" != "ubuntu" && "${ID}" != "debian" ]]; then
echo "ERROR: cannot install on $ID distribution - only Ubuntu and Debian are supported"
exit 1
fi

View File

@ -14,8 +14,8 @@ if [[ ! -f "/etc/os-release" ]]; then
fi
ID=$(bash -c 'source /etc/os-release && echo $ID')
if [[ "${ID}" != "ubuntu" ]]; then
echo "ERROR: cannot install on $ID distribution - only Ubuntu is supported"
if [[ "${ID}" != "ubuntu" && "${ID}" != "debian" ]]; then
echo "ERROR: cannot install on $ID distribution - only Ubuntu and Debian are supported"
exit 1
fi

View File

@ -14,8 +14,8 @@ if [[ ! -f "/etc/os-release" ]]; then
fi
ID=$(bash -c 'source /etc/os-release && echo $ID')
if [[ "${ID}" != "ubuntu" ]]; then
echo "ERROR: cannot install on $ID distribution - only Ubuntu is supported"
if [[ "${ID}" != "ubuntu" && "${ID}" != "debian" ]]; then
echo "ERROR: cannot install on $ID distribution - only Ubuntu and Debian are supported"
exit 1
fi

View File

@ -14,8 +14,8 @@ if [[ ! -f "/etc/os-release" ]]; then
fi
ID=$(bash -c 'source /etc/os-release && echo $ID')
if [[ "${ID}" != "ubuntu" ]]; then
echo "ERROR: cannot install on $ID distribution - only Ubuntu is supported"
if [[ "${ID}" != "ubuntu" && "${ID}" != "debian" ]]; then
echo "ERROR: cannot install on $ID distribution - only Ubuntu and Debian are supported"
exit 1
fi