Merge "Add $EXTRA_ARGS back to yum call"

This commit is contained in:
Jenkins 2014-03-03 18:37:17 +00:00 committed by Gerrit Code Review
commit 27421cb257

View File

@ -41,7 +41,7 @@ if [ -n "$WHITELIST" ]; then
if [ -f /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release ]; then if [ -f /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release ]; then
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
fi fi
yum -y install $(map-packages $WHITELIST) yum -y install $EXTRA_ARGS $(map-packages $WHITELIST)
for pkg in "$@"; do for pkg in "$@"; do
if [ "$pkg" = "python-pip" ] ; then if [ "$pkg" = "python-pip" ] ; then
alternatives --install /usr/bin/pip pip /usr/bin/pip-python 10 alternatives --install /usr/bin/pip pip /usr/bin/pip-python 10