Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

RedHat and Fedora share the same package names

  • Loading branch information...
commit 8cb1197ba947f5fd4242d59c55d899a3c01fe6df 1 parent 7b57b76
@burtlo authored
Showing with 2 additions and 11 deletions.
  1. +2 −11 libraries/module_info.rb
View
13 libraries/module_info.rb
@@ -265,17 +265,7 @@ def package_name_for_module(name, httpd_version, platform, platform_family, plat
else
nil
end
-
- when 'rhel'
- if ModuleInfo.send("#{method_name}_core").include? name
- 'httpd'
- elsif ModuleInfo.send("#{method_name}_other").include? name
- "mod_#{name}"
- else
- nil
- end
-
- when 'fedora'
+ when /^(rhel|fedora)$/
if ModuleInfo.send("#{method_name}_core").include? name
'httpd'
elsif ModuleInfo.send("#{method_name}_other").include? name
@@ -284,6 +274,7 @@ def package_name_for_module(name, httpd_version, platform, platform_family, plat
nil
end
end
+
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.