From d6f26403a6adb1a720f17d3e55e982dec01abfab Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 15 Nov 2018 12:46:24 -0800 Subject: [PATCH] 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 --- lib/utils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.pm b/lib/utils.pm index 2c0ba0e9..3e2df919 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -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/ }; }