Related: #1979488 Need a default for .el8 without _N (5 for now)
(cherry picked from commit d380838ec2684bfe24bab1c352b0979ee1d61858)
This commit is contained in:
parent
d924ddc3a9
commit
a6cba0fc5a
@ -17,6 +17,10 @@ function dist_to_rhel_minor(str, start)
|
|||||||
if match then
|
if match then
|
||||||
return string.sub(match, 6)
|
return string.sub(match, 6)
|
||||||
end
|
end
|
||||||
|
match = string.match(str, ".el8")
|
||||||
|
if match then
|
||||||
|
return 5
|
||||||
|
end
|
||||||
return -1
|
return -1
|
||||||
end}
|
end}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user