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

Contents of /rpms/smeserver-rdiff-backup/contribs9/smeserver-rdiff-backup-0.0.1-backuppath.patch

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


Revision 1.1 - (show annotations) (download)
Mon Aug 14 19:34:11 2017 UTC (7 years, 3 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-rdiff-backup-0_0_1-20_el6_sme, HEAD
Error occurred while calculating annotation data.
Initial import

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