script/packagecloud: say "Rocky Linux"

The distro name is Rocky Linux, so don't omit the word "Linux". Also,
fix the version number for RHEL while we're at it.
This commit is contained in:
brian m. carlson 2022-11-03 14:00:52 +00:00
parent 7cbab661c5
commit 9704399e91
No known key found for this signature in database
GPG Key ID: 2D0C9BC12F82B3A1

@ -123,7 +123,7 @@ package_files.each do |full_path|
when /centos\/6/ then ["RPM RHEL 6/CentOS 6", "el/6"]
when /centos\/7/ then ["RPM RHEL 7/CentOS 7", "el/7"]
when /centos\/8/ then ["RPM RHEL 8/CentOS 8", "el/8"]
when /rocky\/9/ then ["RPM RHEL 8/Rocky 9", "el/9"]
when /rocky\/9/ then ["RPM RHEL 9/Rocky Linux 9", "el/9"]
end
next unless os