Change identification to major releases

because the that should never change on minors
This commit is contained in:
lumarel 2021-11-15 00:23:57 +01:00
parent 44e8a76c56
commit ce669724eb
13 changed files with 8 additions and 26 deletions

View File

@ -1267,13 +1267,11 @@ sub check_prerelease {
sub check_version {
# This function checks if the correct version is display during installation
# in Anaconda, i.e. nonlive media showing Rawhide when Rawhide and version numbers
# when not Rawhide, while live media always showing version numbers.
# in Anaconda, it only looks at the major version, as these needles should
# not change between the major versions.
my $version = lc(get_var('VERSION'));
if ($version eq 'rawhide' && get_var('LIVE')) {
$version = get_var('RAWREL');
}
$version =~ s/\..+$//;
assert_screen "version_${version}_ident";
}

View File

@ -1,16 +0,0 @@
{
"area": [
{
"xpos": 777,
"ypos": 12,
"width": 231,
"height": 20,
"type": "match"
}
],
"properties": [],
"tags": [
"ENV-DISTRI-rocky",
"version_8.4_ident"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB