From 7aede262a55c1cb3b1bfaef8c3974569eb359f78 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Sep 18 2020 00:03:04 +0000 Subject: Check for the updated centos-stream-release package We changed the system-release package to centos-stream-release, we need to be checking for this on CentOS Stream installs from here forward. Signed-off-by: Brian Stinson --- diff --git a/tests/0_lib/functions.sh b/tests/0_lib/functions.sh index 04f8af2..59e752b 100755 --- a/tests/0_lib/functions.sh +++ b/tests/0_lib/functions.sh @@ -105,7 +105,7 @@ centos_ver=$(t_DistCheck) # Description: test if we are using CentOS Stream function t_StreamCheck { - rpm -q centos-release-stream &> /dev/null && echo "yes" || echo "no" + rpm -q centos-stream-release &> /dev/null && echo "yes" || echo "no" } # set stream variable centos_stream=$(t_StreamCheck)