Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni authored and ehelms committed Feb 22, 2024
1 parent def233e commit ae06319
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@ set -e

export LC_ALL=en_US.UTF-8

TEST_ON_EL=$([ -f /etc/redhat-release ] && [ -x /usr/bin/yum ] && echo "true" || echo "false")
PYTHON=python3

if [[ "${TEST_ON_EL}" == "true" ]]; then
if [[ -f /etc/redhat-release ]]; then
. /etc/os-release
if [[ $VERSION_ID == 8 ]] ; then
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
else
REPOS=""
fi

Expand Down

0 comments on commit ae06319

Please sign in to comment.