diff options
author | Aric Gardner <agardner@linuxfoundation.org> | 2016-01-15 15:13:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-01-15 15:13:05 +0000 |
commit | 7dfb2c023cc0f21699b75c41dc5d4812eba6245e (patch) | |
tree | 2786d31a0afb157cbfe2c175e920202114c3263a | |
parent | c9e0b03895cdbabb3c3f27f0b6ad627109ea8f02 (diff) | |
parent | 8fb1939d23f42a89b27b86d6c49155ee9a2fe519 (diff) |
Merge "adding sudo to yum remove for apex downgrade"
-rw-r--r-- | jjb/apex/apex.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml index 57825cecd..e8064fcce 100644 --- a/jjb/apex/apex.yml +++ b/jjb/apex/apex.yml @@ -488,7 +488,7 @@ echo "RPM is already installed" elif sudo yum update -y $RPM_LIST | grep "does not update installed package"; then if ! sudo yum downgrade -y $RPM_LIST; then - yum remove -y opnfv-undercloud opnfv-common + sudo yum remove -y opnfv-undercloud opnfv-common sudo yum downgrade -y $RPM_INSTALL_PATH fi fi @@ -560,7 +560,7 @@ echo "RPM is already installed" elif sudo yum update -y $RPM_LIST | grep "does not update installed package"; then if ! sudo yum downgrade -y $RPM_LIST; then - yum remove -y opnfv-undercloud opnfv-common + sudo yum remove -y opnfv-undercloud opnfv-common sudo yum downgrade -y $RPM_INSTALL_PATH fi fi |