test/koji: remove the workaround for rhel-8

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2021-07-09 12:15:33 +02:00 committed by Ondřej Budai
parent 45417091cd
commit f3a58d699a

View file

@ -6,14 +6,6 @@ OSBUILD_COMPOSER_TEST_DATA=/usr/share/tests/osbuild-composer/
# Get OS data.
source /etc/os-release
ARCH=$(uname -m)
# This should be revisited and solved in a more sustainable way
if [[ "$ID" == 'rhel' ]] && [[ "$VERSION_ID" == 8.3 ]]
then
DISTRO_CODE="${DISTRO_CODE:-rhel_8}"
else
DISTRO_CODE="${DISTRO_CODE:-${ID}_${VERSION_ID//./}}"
fi
# Colorful output.
function greenprint {