Skip to content

Commit

Permalink
install docbook-utils from powertools on EL8
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Feb 22, 2024
1 parent ee571fc commit 777eb52
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 -y openssl rpm-build tree python3 python3-setuptools docbook-utils
fi

if [[ -x /usr/bin/docbook2man ]] ; then
Expand Down

0 comments on commit 777eb52

Please sign in to comment.