1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-backup-1.15.0/root/etc/e-smith/events/actions/workstation-backup-dar mezzanine_patched_e-smith-backup-1.15.0/root/etc/e-smith/events/actions/workstation-backup-dar |
2 |
|
|
--- e-smith-backup-1.15.0/root/etc/e-smith/events/actions/workstation-backup-dar 2008-07-26 09:57:05.000000000 -0600 |
3 |
|
|
+++ mezzanine_patched_e-smith-backup-1.15.0/root/etc/e-smith/events/actions/workstation-backup-dar 2008-07-26 09:56:48.000000000 -0600 |
4 |
|
|
@@ -171,7 +171,8 @@ |
5 |
|
|
# rotating backup indicators |
6 |
|
|
|
7 |
|
|
++$incnum; |
8 |
|
|
-$incnum %= $daysinset; |
9 |
|
|
+$incnum = 0 if ($dow == $fullday && $incnum > $daysinset-7) || |
10 |
|
|
+ ($fullday == 7 && $incnum >= $daysinset); |
11 |
|
|
if ($incnum == 0) |
12 |
|
|
{ |
13 |
|
|
++$setnum; |