From: Andrew Gaul Date: Sun, 19 May 2019 15:34:52 +0000 (+0900) Subject: Explicitly reference Fedora Python 2 dependency X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F276%2Fhead;p=s3-tests.git 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 --- diff --git a/bootstrap b/bootstrap index d7e66dc2..9fb71517 100755 --- a/bootstrap +++ b/bootstrap @@ -13,7 +13,7 @@ if [ -f /etc/debian_version ]; then sudo apt-get -y install $missing fi 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 missing="${missing:+$missing }$package" fi