/[smeserver]/rpms/smeserver-yum/sme7/smeserver-yum-1.2.0-FixUninitializedValue.patch
ViewVC logotype

Annotation of /rpms/smeserver-yum/sme7/smeserver-yum-1.2.0-FixUninitializedValue.patch

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


Revision 1.1 - (hide annotations) (download)
Fri Nov 30 16:06:39 2007 UTC (16 years, 11 months ago) by bytegw
Branch: MAIN
CVS Tags: smeserver-yum-1_2_0-54_el4_sme, smeserver-yum-1_2_0-57_el4_sme, smeserver-yum-1_2_0-50_el4_sme, smeserver-yum-1_2_0-55_el4_sme, smeserver-yum-1_2_0-41_el4_sme, smeserver-yum-1_2_0-53_el4_sme, smeserver-yum-1_2_0-58_el4_sme, smeserver-yum-1_2_0-56_el4_sme, smeserver-yum-1_2_0-46_el4_sme, smeserver-yum-1_2_0-48_el4_sme, smeserver-yum-1_2_0-39_el4_sme, smeserver-yum-1_2_0-51_el4_sme, smeserver-yum-1_2_0-45_el4_sme, smeserver-yum-1_2_0-40_el4_sme, smeserver-yum-1_2_0-47_el4_sme, smeserver-yum-1_2_0-49_el4_sme, smeserver-yum-1_2_0-44_el4_sme
Updates

1 bytegw 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-yum-1.2.0/root/etc/e-smith/db/yum_repositories/migrate/10GPG_and_Groups mezzanine_patched_smeserver-yum-1.2.0/root/etc/e-smith/db/yum_repositories/migrate/10GPG_and_Groups
2     --- smeserver-yum-1.2.0/root/etc/e-smith/db/yum_repositories/migrate/10GPG_and_Groups 2005-09-26 03:30:54.000000000 +0100
3     +++ mezzanine_patched_smeserver-yum-1.2.0/root/etc/e-smith/db/yum_repositories/migrate/10GPG_and_Groups 2007-11-30 14:49:43.000000000 +0000
4     @@ -1,14 +1,16 @@
5     {
6     for my $repo ($DB->get_all_by_prop(type => 'repository'))
7     {
8     - %props = $repo->props;
9     + %props = $repo->props;
10    
11     - $props{GPGCheck} = 'yes' if ($props{GPGCheck} =~ /1/);
12     - $props{GPGCheck} = 'no' if ($props{GPGCheck} =~ /0/);
13     -
14     - $props{EnableGroups} = 'yes' if ($props{EnableGroups} =~ /1/);
15     - $props{EnableGroups} = 'no' if ($props{EnableGroups} =~ /0/);
16     -
17     - $repo->merge_props(%props);
18     + if (defined $props{GPGCheck}) {
19     + $props{GPGCheck} = 'yes' if ($props{GPGCheck} =~ /1/);
20     + $props{GPGCheck} = 'no' if ($props{GPGCheck} =~ /0/);
21     + }
22     + if (defined $props{EnableGroups}) {
23     + $props{EnableGroups} = 'yes' if ($props{EnableGroups} =~ /1/);
24     + $props{EnableGroups} = 'no' if ($props{EnableGroups} =~ /0/);
25     + }
26     + $repo->merge_props(%props);
27     }
28     }

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