mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore: allow installing Google Chrome on Debian (#24386)
Fixes https://github.com/microsoft/playwright/issues/24357
This commit is contained in:
parent
c4ecdcfc22
commit
5c41c6e799
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user