Changes

From SME Server
Jump to navigationJump to search
97 bytes removed ,  13:48, 17 October 2008
m
Reordering and changed layout to be more conformal to the wiki pages
Line 1: Line 1:  
<noinclude>This template can be used to include a repository by name.
 
<noinclude>This template can be used to include a repository by name.
   −
==Usage==
+
===Usage===
 
You can simply add the following command to the Wiki page you want it to display:
 
You can simply add the following command to the Wiki page you want it to display:
   Line 8: Line 8:  
Here is a list of [[:Category:Yum_Repository|known repositories]] for SME Server.
 
Here is a list of [[:Category:Yum_Repository|known repositories]] for SME Server.
   −
The output of the template would look something like this (see the text between the horizontal rules}
+
===Example===
----
   
{{Repository|Snetram}}
 
{{Repository|Snetram}}
----
   
</noinclude>
 
</noinclude>
   
<includeonly>The following command will configure the {{{1}}} repository on SME Server.
 
<includeonly>The following command will configure the {{{1}}} repository on SME Server.
 
{{:{{{1}}}}}
 
{{:{{{1}}}}}
 
After adding it to the database we have to update the changes to the configuration file:
 
After adding it to the database we have to update the changes to the configuration file:
 
  expand-template /etc/yum.conf</includeonly>
 
  expand-template /etc/yum.conf</includeonly>

Navigation menu