Sandro Bonazzola has uploaded a new change for review.

Change subject: uses yum-deprecated where available
......................................................................

uses yum-deprecated where available

F22 moved from yum to dnf, leaving yum as yum-deprecated.

Change-Id: I64ad89d1c8202f3da00763cc93fca6178864899f
Related-To: http://bugzilla.redhat.com/1211978
Signed-off-by: Sandro Bonazzola <sbona...@redhat.com>
---
M jobs/confs/shell-scripts/mock_install.sh
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/jenkins refs/changes/43/40643/1

diff --git a/jobs/confs/shell-scripts/mock_install.sh 
b/jobs/confs/shell-scripts/mock_install.sh
index 691d7da..d1e153a 100644
--- a/jobs/confs/shell-scripts/mock_install.sh
+++ b/jobs/confs/shell-scripts/mock_install.sh
@@ -114,5 +114,6 @@
 $my_mock \
     --no-clean \
     --shell <<EOF
-yum install -y /tmp/*rpm
+yum_command=`which yum-deprecated` || yum_command=`which yum`
+$yum_command install -y /tmp/*rpm
 EOF


-- 
To view, visit https://gerrit.ovirt.org/40643
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I64ad89d1c8202f3da00763cc93fca6178864899f
Gerrit-PatchSet: 1
Gerrit-Project: jenkins
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbona...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to