From ae06319ae8ec4b4f0769c501fa063ef653fc3cd3 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Thu, 22 Feb 2024 11:43:42 +0100 Subject: [PATCH] cleanup --- test.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test.sh b/test.sh index bf2c42a..464b34b 100755 --- a/test.sh +++ b/test.sh @@ -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