Commit 6415937c authored by Robin H. Johnson's avatar Robin H. Johnson Committed by GitHub
Browse files

Merge pull request #123 from CorCornelisse/CaseException-MakeConfTemplate

http and ftp proxy variables should be lowercase
parents 6a560674 de0a0354
<% if @content == '' -%> <% if @content == '' -%>
<%= @name %> <%= @name %>
<% elsif @name == 'http_proxy' or @name == 'ftp_proxy' -%>
<%= @name.downcase %>="<%= [@content].flatten.join(' ') %>"
<% else -%> <% else -%>
<%= @name.upcase %>="<%= [@content].flatten.join(' ') %>" <%= @name.upcase %>="<%= [@content].flatten.join(' ') %>"
<% end -%> <% end -%>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment