/[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.3 - (hide annotations) (download)
Tue Nov 25 16:20:29 2008 UTC (15 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
Restore

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