tests: Fix RHEL check
This commit is contained in:
parent
4c639d46fc
commit
3d9d9a56f4
@ -10,7 +10,7 @@ chmod a+w "$LOGS"
|
||||
|
||||
# install browser; on RHEL, use chromium from epel
|
||||
if ! rpm -q chromium-headless; then
|
||||
if grep -q 'ID=rhel' /etc/os-release; then
|
||||
if grep -q 'ID=.*rhel' /etc/os-release; then
|
||||
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
|
||||
dnf config-manager --enable epel
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user