/[smeserver]/rpms/e-smith-backup/sme7/e-smith-backup-2.0.0-many_daily_dar.patch
ViewVC logotype

Annotation of /rpms/e-smith-backup/sme7/e-smith-backup-2.0.0-many_daily_dar.patch

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


Revision 1.1 - (hide annotations) (download)
Sun Jul 26 15:09:04 2009 UTC (14 years, 10 months ago) by gnujpl
Branch: MAIN
CVS Tags: e-smith-backup-2_0_0-36_el4_sme, e-smith-backup-2_0_0-38_el4_sme, e-smith-backup-2_0_0-21_el4_sme, e-smith-backup-2_0_0-33_el4_sme, e-smith-backup-2_0_0-30_el4_sme, e-smith-backup-2_0_0-35_el4_sme, e-smith-backup-2_0_0-32_el4_sme, e-smith-backup-2_0_0-37_el4_sme, e-smith-backup-2_0_0-34_el4_sme, e-smith-backup-2_0_0-29_el4_sme, e-smith-backup-2_0_0-24_el4_sme, e-smith-backup-2_0_0-27_el4_sme, e-smith-backup-2_0_0-22_el4_sme, e-smith-backup-2_0_0-25_el4_sme, e-smith-backup-2_0_0-23_el4_sme, e-smith-backup-2_0_0-31_el4_sme, e-smith-backup-2_0_0-28_el4_sme, e-smith-backup-2_0_0-26_el4_sme, HEAD
* Sun Jul 26 2009 Jean-Paul Leclere <jean-paul@leclere.org> 2.0.0-21.sme
- workstation backup: allow many backups in the same day [SME: 5393]

1 gnujpl 1.1 diff -up e-smith-backup-2.0.0/root/etc/e-smith/events/actions/workstation-backup-dar.many_daily_dar e-smith-backup-2.0.0/root/etc/e-smith/events/actions/workstation-backup-dar
2     --- e-smith-backup-2.0.0/root/etc/e-smith/events/actions/workstation-backup-dar.many_daily_dar 2009-07-24 15:27:42.000000000 +0200
3     +++ e-smith-backup-2.0.0/root/etc/e-smith/events/actions/workstation-backup-dar 2009-07-24 15:51:07.000000000 +0200
4     @@ -48,6 +48,12 @@ $bkname .= $tm->mon + 1;
5     $bkname .= "0" if ($tm->mday < 10);
6     $bkname .= $tm->mday;
7    
8     +$bkname .= "0" if ($tm->hour < 10);
9     +$bkname .= $tm->hour;
10     +
11     +$bkname .= "0" if ($tm->min < 10);
12     +$bkname .= $tm->min;
13     +
14     my $dow = $tm->wday;
15     my $id = $backupwk->prop('Id') ||
16     $confdb->get('SystemName')->value . "." . $confdb->get('DomainName')->value;

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