/[smecontribs]/rpms/smeserver-rdiff-backup/contribs7/smeserver-rdiff-backup-0.0.1-backuppath.patch
ViewVC logotype

Annotation of /rpms/smeserver-rdiff-backup/contribs7/smeserver-rdiff-backup-0.0.1-backuppath.patch

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


Revision 1.1 - (hide annotations) (download)
Thu May 15 15:42:16 2008 UTC (16 years, 6 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-rdiff-backup-0_0_1-19_el4_sme
Initial import of smeserver-rdiff-backup-0.0.1-19.el4.sme.src.rpm

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' smeserver-rdiff-backup-0.0.1/root/etc/e-smith/db/configuration/migrate/rdiff-backup-path mezzanine_patched_smeserver-rdiff-backup-0.0.1/root/etc/e-smith/db/configuration/migrate/rdiff-backup-path
2     --- smeserver-rdiff-backup-0.0.1/root/etc/e-smith/db/configuration/migrate/rdiff-backup-path 2006-05-18 15:57:39.804849331 +1000
3     +++ mezzanine_patched_smeserver-rdiff-backup-0.0.1/root/etc/e-smith/db/configuration/migrate/rdiff-backup-path 2006-05-18 15:57:13.707365904 +1000
4     @@ -1,7 +1,9 @@
5     {
6     - my $backup_path = $DB->get_prop_and_delete('rdiff-backup', 'BackupPath');
7     + my $rdiff_rec = $DB->get('rdiff-backup')
8     + or return;
9    
10     - return unless $backup_path;
11     + my $backup_path = $DB->get_prop_and_delete('rdiff-backup', 'BackupPath')
12     + or return;
13    
14     - $DB->set_prop('rdiff-backup', 'LocalPath', $backup_path);
15     + $rdiff_rec->merge_props('LocalPath' => $backup_path);
16     }

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