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

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

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


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 18:25:29 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-backup-1_14_0-24_el5_sme, e-smith-backup-1_14_0-25_el5_sme, e-smith-backup-1_14_0-20_el5_sme, e-smith-backup-1_14_0-26_el5_sme, e-smith-backup-1_14_0-15_el5_sme, e-smith-backup-1_14_0-14_el5_sme, e-smith-backup-1_14_0-23_el5_sme, e-smith-backup-1_14_0-17_el5_sme, e-smith-backup-1_14_0-18_el5_sme, e-smith-backup-1_14_0-16_el5_sme, e-smith-backup-1_14_0-21_el5_sme, e-smith-backup-1_14_0-22_el5_sme, e-smith-backup-1_14_0-19_el5_sme
Branch point for: e-smith-backup-1_14-tree
Import on branch sme8 of package e-smith-backup-1.14.0-14.el5.sme.src.rpm

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