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 |
|
|
} |