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

Contents of /rpms/smeserver-yum/sme7/smeserver-yum-1.2.0-DisplayStatus.patch2

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


Revision 1.1 - (show annotations) (download)
Tue Jun 12 17:41:54 2007 UTC (17 years, 4 months ago) by slords
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-36_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-37_el4_sme, smeserver-yum-1_2_0-49_el4_sme, smeserver-yum-1_2_0-44_el4_sme
Import on branch sme7 of package smeserver-yum-1.2.0-36.el4.sme.src.rpm

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-yum-1.2.0/root/etc/e-smith/web/functions/yum mezzanine_patched_smeserver-yum-1.2.0/root/etc/e-smith/web/functions/yum
2 --- smeserver-yum-1.2.0/root/etc/e-smith/web/functions/yum 2006-04-18 18:34:57.847588106 +1000
3 +++ mezzanine_patched_smeserver-yum-1.2.0/root/etc/e-smith/web/functions/yum 2006-04-18 18:31:49.351201334 +1000
4 @@ -224,7 +224,7 @@
5 </page>
6
7 <page name="YUM_PAGE_POSTUPGRADE"
8 - pre-event="turn_off_buttons()"
9 + pre-event="print_status_message()"
10 post-event="post_upgrade_reboot()">
11
12 <field
13 diff -Nur -x '*.orig' -x '*.rej' smeserver-yum-1.2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/yum.pm mezzanine_patched_smeserver-yum-1.2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/yum.pm
14 --- smeserver-yum-1.2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/yum.pm 2006-04-18 18:34:57.848587933 +1000
15 +++ mezzanine_patched_smeserver-yum-1.2.0/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/yum.pm 2006-04-18 18:34:46.765505564 +1000
16 @@ -217,18 +217,21 @@
17 $db->set_prop("yum", $_, join(',', ($q->param($_) )));
18 }
19
20 - unless ( system( "/sbin/e-smith/signal-event", "yum-$function" ) == 0 )
21 - {
22 - $fm->error('ERROR_UPDATING');
23 - return undef;
24 - }
25 + my $system_status = system("/sbin/e-smith/signal-event", "yum-$function");
26
27 $db->reload;
28
29 my $page = ($function eq 'modify') ? 'First'
30 : 'YUM_PAGE_POSTUPGRADE';
31
32 - $fm->success('SUCCESS', $page);
33 + if ($system_status == 0)
34 + {
35 + $fm->success('SUCCESS', $page);
36 + }
37 + else
38 + {
39 + $fm->error('ERROR_UPDATING', $page);
40 + }
41 }
42
43 sub package_functions_enabled

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