mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-22 05:53:09 +00:00
setup_repos: fix a logic bug
we might be on a non-update waonly path here, we can't bail in that case. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
de4735f6f1
commit
6d4a8a9fb7
@ -609,7 +609,7 @@ sub setup_repos {
|
|||||||
$udstring =~ s/_/,/;
|
$udstring =~ s/_/,/;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
die "Neither ADVISORY_NVRS nor KOJITASK set! Don't know what to do";
|
die "Neither ADVISORY_NVRS nor KOJITASK set! Don't know what to do" unless ($args{waonly});
|
||||||
}
|
}
|
||||||
my $cmd = "/usr/local/bin/setup_repos.py";
|
my $cmd = "/usr/local/bin/setup_repos.py";
|
||||||
# don't download updates if we're in workarounds-only mode or testing a tag
|
# don't download updates if we're in workarounds-only mode or testing a tag
|
||||||
|
Loading…
Reference in New Issue
Block a user