diff options
author | Dan Radez <dradez@redhat.com> | 2016-01-15 00:07:14 -0500 |
---|---|---|
committer | Dan Radez <dradez@redhat.com> | 2016-01-15 00:07:49 -0500 |
commit | 8fb1939d23f42a89b27b86d6c49155ee9a2fe519 (patch) | |
tree | a1acd875ed438550edacbf1ab5b2777d5235f269 /jjb/apex | |
parent | 26b86cf943aa7849e9162d36890e620d4179837a (diff) |
adding sudo to yum remove for apex downgrade
Change-Id: I03954a7e80185adb26bd909cf2b9140fc1e2e340
Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'jjb/apex')
-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 |