Updated all templates to use instance variables
This commit is contained in:
parent
a0c854d3c0
commit
dc51af1ca2
113 changed files with 527 additions and 522 deletions
|
@ -1,14 +1,14 @@
|
|||
[<%= name %>]
|
||||
name=<%= descr_real %>
|
||||
enabled=<% if status == 'disable' %>0<% else %>1<% end %>
|
||||
<% if baseurl != '' -%>
|
||||
baseurl=<%= baseurl %>
|
||||
[<%= @name %>]
|
||||
name=<%= @descr_real %>
|
||||
enabled=<% if @status == 'disable' %>0<% else %>1<% end %>
|
||||
<% if @baseurl != '' -%>
|
||||
baseurl=<%= @baseurl %>
|
||||
<% else -%>
|
||||
mirrorlist=<%= mirrorlist %>
|
||||
mirrorlist=<%= @mirrorlist %>
|
||||
<% end -%>
|
||||
<% if gpgkey_real != '' -%>
|
||||
<% if @gpgkey_real != '' -%>
|
||||
gpgcheck=1
|
||||
gpgkey=<%= gpgkey_real %>
|
||||
gpgkey=<%= @gpgkey_real %>
|
||||
<% else -%>
|
||||
gpgcheck=0
|
||||
<% end -%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue