From 600dc50dec281803f3c8270d03091c38b2c50a06 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Thu, 22 Feb 2024 11:40:19 +0100 Subject: [PATCH] install docbook-utils from powertools on EL8 --- test.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test.sh b/test.sh index 957f06c..57cda14 100755 --- a/test.sh +++ b/test.sh @@ -10,15 +10,14 @@ PYTHON=python3 if [[ "${TEST_ON_EL}" == "true" ]]; then . /etc/os-release if [[ $VERSION_ID == 8 ]] ; then - # TODO: where's docbook-utils on EL8? - PACKAGES="" + REPOS="--enablerepo=powertools" # This is where Python 3 on EL8 installs packages to mkdir -p /usr/local/lib/python3.6/site-packages elif [[ $VERSION_ID == 9 ]] ; then - PACKAGES="docbook-utils" + REPOS="" fi - dnf install -y openssl rpm-build tree python3 python3-setuptools $PACKAGES + dnf install ${REPOS} -y openssl rpm-build tree python3 python3-setuptools docbook-utils fi if [[ -x /usr/bin/docbook2man ]] ; then