diff options
-rwxr-xr-x | ci/dev_dep_check.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ci/dev_dep_check.sh b/ci/dev_dep_check.sh index 6d0aa11f..86e6fd91 100755 --- a/ci/dev_dep_check.sh +++ b/ci/dev_dep_check.sh @@ -12,16 +12,14 @@ set -e -rdo_action="update" - # check for rdo-release if ! rpm -q rdo-release > /dev/null; then - rdo_action="install" + sudo yum remove rdo-release fi # make sure rdo release -if ! sudo yum $rdo_action -y https://www.rdoproject.org/repos/rdo-release.rpm; then - echo "Failed to $rdo_action RDO Release package..." +if ! sudo yum install -y https://repos.fedorapeople.org/repos/openstack/openstack-newton/rdo-release-newton-5.noarch.rpm; then + echo "Failed to install RDO Release package..." exit 1 fi |