From 25a1fbed051008a0ceca927d97b12838cc83701d Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Jul 24 2019 20:10:32 +0000 Subject: Don't install deltarpm in 8 --- diff --git a/tests/0_common/20_upgrade_all.sh b/tests/0_common/20_upgrade_all.sh index 68dc04d..89d10c1 100755 --- a/tests/0_common/20_upgrade_all.sh +++ b/tests/0_common/20_upgrade_all.sh @@ -7,7 +7,9 @@ if [ "$CENTOSPLUS" == "1" ] && [ "$centos_ver" == "7" ] && [ "$arch" == "x86_64" sed -i 's,DEFAULTKERNEL=.*,DEFAULTKERNEL=kernel-plus,g' /etc/sysconfig/kernel fi -yum -d0 -y install deltarpm +if [ "$centos_ver" -lt 8 ];then + yum -d0 -y install deltarpm +fi yum -d0 -y upgrade t_Log "Running $0 - listing all used/available packages"