forked from TrueCloudLab/s3-tests
Explicitly reference Fedora Python 2 dependency
Previously the aliases would install but subsequent runs would not find the exact package name. This caused yum to unnecessarily re-run. Signed-off-by: Andrew Gaul <andrew@gaul.org>
This commit is contained in:
parent
37e6825d04
commit
dfa6088f6f
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ if [ -f /etc/debian_version ]; then
|
||||||
sudo apt-get -y install $missing
|
sudo apt-get -y install $missing
|
||||||
fi
|
fi
|
||||||
elif [ -f /etc/fedora-release ]; then
|
elif [ -f /etc/fedora-release ]; then
|
||||||
for package in python-pip python2-virtualenv python-devel libevent-devel libffi-devel libxml2-devel libxslt-devel zlib-devel; do
|
for package in python2-pip python2-virtualenv python2-devel libevent-devel libffi-devel libxml2-devel libxslt-devel zlib-devel; do
|
||||||
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