/[smeserver]/rpms/smeserver-yum/sme7/smeserver-yum-1.2.0-MirrorList.patch2
ViewVC logotype

Annotation of /rpms/smeserver-yum/sme7/smeserver-yum-1.2.0-MirrorList.patch2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Tue Oct 7 14:47:50 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-yum-1.2.0/root/etc/e-smith/templates/etc/yum.conf/20repositories mezzanine_patched_smeserver-yum-1.2.0/root/etc/e-smith/templates/etc/yum.conf/20repositories
2     --- smeserver-yum-1.2.0/root/etc/e-smith/templates/etc/yum.conf/20repositories 2006-11-09 18:58:20.675201808 +1100
3     +++ mezzanine_patched_smeserver-yum-1.2.0/root/etc/e-smith/templates/etc/yum.conf/20repositories 2006-11-09 18:57:33.078491877 +1100
4     @@ -13,7 +13,7 @@
5     $OUT .= "enabled=" . (($repos->prop('status') eq 'enabled') ? 1 : 0)
6     . "\n";
7    
8     - for my $prop (qw(Name BaseURL MirrorList))
9     + for my $prop (qw(Name BaseURL))
10     {
11     $OUT .= lc($prop) . '=' . $props{$prop} . "\n";
12     }
13     @@ -23,6 +23,12 @@
14     $OUT .= lc($prop) . '=' . ($props{$prop} eq "yes" ? 1 : 0) . "\n";
15     }
16    
17     + for my $prop (qw(MirrorList))
18     + {
19     + next unless exists $props{$prop};
20     + $OUT .= lc($prop) . '=' . $props{$prop} . "\n";
21     + }
22     +
23     if (exists $props{Exclude})
24     {
25     $OUT .= "exclude=" . join(' ', split(/,/, $props{Exclude})) . "\n";
26     @@ -33,6 +39,7 @@
27     $OUT .= "gpgkey" . '=' . $props{GPGKey} . "\n";
28     }
29    
30     +
31     $OUT .= "\n";
32     }
33     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed