forked from TrueCloudLab/s3-tests
bootstrap: unpin python 3.6
Signed-off-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
parent
5ac04c4f26
commit
0aa44280c1
1 changed files with 1 additions and 5 deletions
|
@ -22,12 +22,8 @@ case "$ID" in
|
||||||
;;
|
;;
|
||||||
centos|fedora|rhel|ol|virtuozzo)
|
centos|fedora|rhel|ol|virtuozzo)
|
||||||
|
|
||||||
packages=(which python3-virtualenv python36-devel libevent-devel libffi-devel libxml2-devel libxslt-devel zlib-devel)
|
packages=(which python3-virtualenv python3-devel libevent-devel libffi-devel libxml2-devel libxslt-devel zlib-devel)
|
||||||
for package in ${packages[@]}; do
|
for package in ${packages[@]}; do
|
||||||
# When the package is python36-devel we change it to python3-devel on Fedora
|
|
||||||
if [[ ${package} == "python36-devel" && -f /etc/fedora-release ]]; then
|
|
||||||
package=python36
|
|
||||||
fi
|
|
||||||
if [ "$(rpm -qa $package 2>/dev/null)" == "" ]; then
|
if [ "$(rpm -qa $package 2>/dev/null)" == "" ]; then
|
||||||
missing="${missing:+$missing }$package"
|
missing="${missing:+$missing }$package"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue