/[smeserver]/rpms/smeserver-yum/sme8/smeserver-yum-2.2.0-updatetoggle.patch
ViewVC logotype

Diff of /rpms/smeserver-yum/sme8/smeserver-yum-2.2.0-updatetoggle.patch

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

Revision 1.1 by dungog, Sat Sep 12 08:29:28 2009 UTC Revision 1.2 by slords, Tue Sep 15 16:43:50 2009 UTC
# Line 1  Line 1 
1  diff -urN smeserver-yum-2.2.0/root/etc/e-smith/db/configuration/migrate/yumCheck4updates smeserver-yum-2.2.0.new/root/etc/e-smith/db/configuration/migrate/yumCheck4updates  --- smeserver-yum-2.2.0/root/etc/e-smith/db/configuration/defaults/yum/check4updates.d  2009-09-15 10:19:24.000000000 -0600
2  --- smeserver-yum-2.2.0/root/etc/e-smith/db/configuration/migrate/yumCheck4updates      1970-01-01 10:00:00.000000000 +1000  +++ smeserver-yum-2.2.0/root/etc/e-smith/db/configuration/defaults/yum/check4updates    2009-09-15 10:19:30.000000000 -0600
3  +++ smeserver-yum-2.2.0.new/root/etc/e-smith/db/configuration/migrate/yumCheck4updates  2009-09-12 18:01:37.000000000 +1000  @@ -0,0 +1 @@
4  @@ -0,0 +1,12 @@  +daily
 +{  
 +   my $yum = $DB->get("yum");  
 +   return if ($yum->prop('check4updates'));  
 +   if ($yum->prop('status') eq 'disabled')  
 +   {  
 +      $yum->set_prop('check4updates', 'disabled');  
 +   }  
 +   else  
 +   {  
 +      $yum->set_prop('check4updates', 'daily');  
 +   }  
 +}  
5  diff -urN smeserver-yum-2.2.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/yum smeserver-yum-2.2.0.new/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/yum  diff -urN smeserver-yum-2.2.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/yum smeserver-yum-2.2.0.new/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/yum
6  --- smeserver-yum-2.2.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/yum     2008-10-08 01:25:45.000000000 +1100  --- smeserver-yum-2.2.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/yum     2008-10-08 01:25:45.000000000 +1100
7  +++ smeserver-yum-2.2.0.new/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/yum 2009-09-12 18:04:01.000000000 +1000  +++ smeserver-yum-2.2.0.new/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/yum 2009-09-12 18:04:01.000000000 +1000


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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