/[smeserver]/rpms/e-smith-backup/sme7/e-smith-backup-1.14.0-DesktopBackupWarning.patch
ViewVC logotype

Annotation of /rpms/e-smith-backup/sme7/e-smith-backup-1.14.0-DesktopBackupWarning.patch

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


Revision 1.2 - (hide annotations) (download)
Sat Sep 8 00:55:20 2007 UTC (16 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Update packages

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-backup-1.14.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/backup mezzanine_patched_e-smith-backup-1.14.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/backup
2     --- e-smith-backup-1.14.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/backup 2003-06-28 07:32:13.000000000 +1000
3     +++ mezzanine_patched_e-smith-backup-1.14.0/root/etc/e-smith/locale/en-us/etc/e-smith/web/functions/backup 2006-03-15 10:53:26.325157754 +1100
4     @@ -448,4 +448,15 @@
5     <trans>Backup or restore</trans>
6     </entry>
7    
8     + <entry>
9     + <base>BACKUP_DESKTOP_TOO_BIG</base>
10     + <trans>
11     + <![CDATA[
12     + <div class="error">
13     + Your server has too much data for a reliable backup to desktop.
14     + </div>
15     + ]]>
16     + </trans>
17     + </entry>
18     +
19     </lexicon>
20     diff -Nur -x '*.orig' -x '*.rej' e-smith-backup-1.14.0/root/etc/e-smith/web/functions/backup mezzanine_patched_e-smith-backup-1.14.0/root/etc/e-smith/web/functions/backup
21     --- e-smith-backup-1.14.0/root/etc/e-smith/web/functions/backup 2006-03-15 04:08:45.000000000 +1100
22     +++ mezzanine_patched_e-smith-backup-1.14.0/root/etc/e-smith/web/functions/backup 2006-03-15 10:52:22.265260893 +1100
23     @@ -155,6 +155,11 @@
24     # Hack to evaluate embedded vars
25     print eval 'return "'.$fm->localise('BACKUP_DESC').'\n";';
26    
27     + if ($dumpsize =~ /Tb/ or $dumpsize =~ /(\d+)Gb/ and $1 >= 2)
28     + {
29     + print $fm->localise("BACKUP_DESKTOP_TOO_BIG"), "\n"
30     + }
31     +
32     print $q->h2($fm->localise("BACKUP_CONFIG_STATUS")),"\n";
33    
34     my $backup_status = $conf->get('backup');

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