mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-25 14:41:27 +00:00
Use different file for checking post-upgrade release version
The one we were using before doesn't seem to exist any more in Rawhide. /etc/os-release should be fine. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
9d50f4f4a8
commit
d6f26403a6
@ -349,7 +349,7 @@ sub check_release {
|
||||
# number; often you will want to use `get_var('VERSION')`. Expects
|
||||
# a console prompt to be active when it is called.
|
||||
my $release = shift;
|
||||
my $check_command = "grep SUPPORT_PRODUCT_VERSION /usr/lib/os.release.d/os-release-fedora";
|
||||
my $check_command = "grep SUPPORT_PRODUCT_VERSION /etc/os-release";
|
||||
validate_script_output $check_command, sub { $_ =~ m/REDHAT_SUPPORT_PRODUCT_VERSION=$release/ };
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user