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 |
} |