1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

sigh, can't use get_release_number before defining it...

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2019-08-15 12:00:26 -07:00
parent d7d3d40d83
commit 04b716329a

View File

@ -437,8 +437,8 @@ sub _repo_setup_updates {
upload_logs "/var/log/updatepkgnames.txt";
# FIXME: workaround for broken lorax-29.29-1.fc29, remove when
# FEDORA-2019-8a3aa00d5e goes stable
my $relnum = get_release_number;
if ($relnum == 29) {
my $version = get_var("VERSION");
if ($version == 29) {
assert_script_run "bodhi updates download --updateid FEDORA-2019-8a3aa00d5e", 600;
}
# create the repo metadata
@ -910,7 +910,7 @@ sub get_release_number {
my $rawrel = get_var("RAWREL", "Rawhide");
return $rawrel if ($version eq "Rawhide");
return $version
}
}
sub tell_source {
# This helper function identifies the Subvariant of the tested system.