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

Contents 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.2 - (show annotations) (download)
Sun Nov 23 04:58:10 2008 UTC (16 years ago) by slords
Branch: MAIN
Changes since 1.1: +0 -0 lines
FILE REMOVED
Part of epel

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