upgrade_preinstall: use UP1REL not CURRREL

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-05-26 19:04:57 -07:00
parent c9352592e2
commit a63437527c
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ use utils;
sub run {
my $self = shift;
# upgrader should be installed on up-to-date system
my $version = get_var("CURRREL");
my $version = get_var("UP1REL");
# ok this is dumb but I need to fix it fast and can't think of a
# better way in a hurry. We want the pre-upgrade release version.
my $testname = get_var("TEST");