1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-24 23:03:08 +00:00

os_release: drop a now-unneeded > 34 conditional

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-12-13 11:48:44 -08:00
parent 079eecf23c
commit d28f520dbf

View File

@ -60,9 +60,7 @@ sub run {
$cannedtag = (split /-/, $build)[-1];
}
my $name = ucfirst($id);
# from F35 onwards, $NAME is "Fedora Linux" not just "Fedora"
my $relnum = get_release_number;
my $fullname = $relnum > 34 ? $name . " Linux" : $name;
my $fullname = $name . " Linux";
my $rawrel = get_var("RAWREL", '');
# Should be the version number or Rawhide.
my $version_id = get_var("VERSION");