diff --git a/packages/playwright-core/bin/reinstall_chrome_beta_linux.sh b/packages/playwright-core/bin/reinstall_chrome_beta_linux.sh index 14c684599c..6c93f55c43 100755 --- a/packages/playwright-core/bin/reinstall_chrome_beta_linux.sh +++ b/packages/playwright-core/bin/reinstall_chrome_beta_linux.sh @@ -13,6 +13,9 @@ if [[ ! -f "/etc/os-release" ]]; then fi ID=$(bash -c 'source /etc/os-release && echo $ID') +if [[ "${ID}" == "devuan" ]]; then + ID="debian" +fi if [[ "${ID}" != "ubuntu" && "${ID}" != "debian" ]]; then echo "ERROR: cannot install on $ID distribution - only Ubuntu and Debian are supported" exit 1 diff --git a/packages/playwright-core/bin/reinstall_chrome_stable_linux.sh b/packages/playwright-core/bin/reinstall_chrome_stable_linux.sh index 28a19699df..0631f715c7 100755 --- a/packages/playwright-core/bin/reinstall_chrome_stable_linux.sh +++ b/packages/playwright-core/bin/reinstall_chrome_stable_linux.sh @@ -13,6 +13,9 @@ if [[ ! -f "/etc/os-release" ]]; then fi ID=$(bash -c 'source /etc/os-release && echo $ID') +if [[ "${ID}" == "devuan" ]]; then + ID="debian" +fi if [[ "${ID}" != "ubuntu" && "${ID}" != "debian" ]]; then echo "ERROR: cannot install on $ID distribution - only Ubuntu and Debian are supported" exit 1 diff --git a/packages/playwright-core/bin/reinstall_msedge_beta_linux.sh b/packages/playwright-core/bin/reinstall_msedge_beta_linux.sh index ff8c3c9f89..bd47efbb6d 100755 --- a/packages/playwright-core/bin/reinstall_msedge_beta_linux.sh +++ b/packages/playwright-core/bin/reinstall_msedge_beta_linux.sh @@ -14,6 +14,9 @@ if [[ ! -f "/etc/os-release" ]]; then fi ID=$(bash -c 'source /etc/os-release && echo $ID') +if [[ "${ID}" == "devuan" ]]; then + ID="debian" +fi if [[ "${ID}" != "ubuntu" && "${ID}" != "debian" ]]; then echo "ERROR: cannot install on $ID distribution - only Ubuntu and Debian are supported" exit 1 diff --git a/packages/playwright-core/bin/reinstall_msedge_dev_linux.sh b/packages/playwright-core/bin/reinstall_msedge_dev_linux.sh index 6a026722b1..eef82b3236 100755 --- a/packages/playwright-core/bin/reinstall_msedge_dev_linux.sh +++ b/packages/playwright-core/bin/reinstall_msedge_dev_linux.sh @@ -14,6 +14,9 @@ if [[ ! -f "/etc/os-release" ]]; then fi ID=$(bash -c 'source /etc/os-release && echo $ID') +if [[ "${ID}" == "devuan" ]]; then + ID="debian" +fi if [[ "${ID}" != "ubuntu" && "${ID}" != "debian" ]]; then echo "ERROR: cannot install on $ID distribution - only Ubuntu and Debian are supported" exit 1 diff --git a/packages/playwright-core/bin/reinstall_msedge_stable_linux.sh b/packages/playwright-core/bin/reinstall_msedge_stable_linux.sh index 1f2c9bf382..46c2957740 100755 --- a/packages/playwright-core/bin/reinstall_msedge_stable_linux.sh +++ b/packages/playwright-core/bin/reinstall_msedge_stable_linux.sh @@ -14,6 +14,9 @@ if [[ ! -f "/etc/os-release" ]]; then fi ID=$(bash -c 'source /etc/os-release && echo $ID') +if [[ "${ID}" == "devuan" ]]; then + ID="debian" +fi if [[ "${ID}" != "ubuntu" && "${ID}" != "debian" ]]; then echo "ERROR: cannot install on $ID distribution - only Ubuntu and Debian are supported" exit 1