From dfa6088f6f851df3c046618f56583427088023cf Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Mon, 20 May 2019 00:34:52 +0900 Subject: [PATCH] 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 --- bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index d7e66dc..9fb7151 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