/[smecontribs]/rpms/smeserver-rdiff-backup/contribs8/smeserver-rdiff-backup-0.0.1-backuptime.patch2
ViewVC logotype

Annotation of /rpms/smeserver-rdiff-backup/contribs8/smeserver-rdiff-backup-0.0.1-backuptime.patch2

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


Revision 1.1 - (hide annotations) (download)
Sun Mar 3 21:59:57 2013 UTC (11 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-rdiff-backup-0_0_1-19_el5_sme, HEAD
Initial import

1 unnilennium 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-rdiff-backup-0.0.1/root/etc/e-smith/db/configuration/migrate/rdiff-backup-time mezzanine_patched_smeserver-rdiff-backup-0.0.1/root/etc/e-smith/db/configuration/migrate/rdiff-backup-time
2     --- smeserver-rdiff-backup-0.0.1/root/etc/e-smith/db/configuration/migrate/rdiff-backup-time 2006-05-24 13:18:09.413346993 +1000
3     +++ mezzanine_patched_smeserver-rdiff-backup-0.0.1/root/etc/e-smith/db/configuration/migrate/rdiff-backup-time 2006-05-24 13:18:07.350705708 +1000
4     @@ -4,8 +4,11 @@
5    
6     my %props = $rdiff_rec->props();
7    
8     - $props{Hour} ||= int(rand(7)); # Early in the morning
9     - $props{Minute} ||= int(rand(60));
10     + my $hour = int(rand(12));
11     + $hour += 12 if $hour > 6;
12     +
13     + exists $props{Hour} or $props{Hour} = $hour;
14     + exists $props{Minute} or $props{Minute} = int(rand(60));
15    
16     $rdiff_rec->merge_props(%props);
17     }

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