Changes

From SME Server
Jump to navigationJump to search
m
Line 20: Line 20:  
If you are not running Sme 7.4 update smeserver-yum
 
If you are not running Sme 7.4 update smeserver-yum
 
  yum update smeserver-yum
 
  yum update smeserver-yum
 +
 +
==== modify yum template ====
 +
cp the original and add the following to the bottom of the fragment
 +
nano -w  /etc/e-smith/templates-custom/etc/yum.smerepos.d/sme-base.repo/20repositories
 +
 +
      if (exists $props{priority})
 +
        {
 +
            $OUT .= "priority" . '=' . $props{priority} . "\n";
 +
        }
    
==== DB values ====
 
==== DB values ====
Line 32: Line 41:  
   
 
   
 
  signal-event yum-modify
 
  signal-event yum-modify
  −
==== modify yum template ====
  −
cp the original and add the following to the bottom of the fragment
  −
nano -w  /etc/e-smith/templates-custom/etc/yum.smerepos.d/sme-base.repo/20repositories
  −
  −
      if (exists $props{priority})
  −
        {
  −
            $OUT .= "priority" . '=' . $props{priority} . "\n";
  −
        }
      
=== Usage ===
 
=== Usage ===

Navigation menu