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

Annotation of /rpms/smeserver-rdiff-backup/contribs7/smeserver-rdiff-backup-0.0.1-defaults.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:17 2008 UTC (16 years, 5 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/defaults/rdiff-backup/BackupPath mezzanine_patched_smeserver-rdiff-backup-0.0.1/root/etc/e-smith/db/configuration/defaults/rdiff-backup/BackupPath
2     --- smeserver-rdiff-backup-0.0.1/root/etc/e-smith/db/configuration/defaults/rdiff-backup/BackupPath 1970-01-01 10:00:00.000000000 +1000
3     +++ mezzanine_patched_smeserver-rdiff-backup-0.0.1/root/etc/e-smith/db/configuration/defaults/rdiff-backup/BackupPath 2006-04-27 17:01:47.437636508 +1000
4     @@ -0,0 +1 @@
5     +/media/usbdisk/rdiff-backup
6     diff -Nur -x '*.orig' -x '*.rej' smeserver-rdiff-backup-0.0.1/root/sbin/e-smith/do_rdiff-backup mezzanine_patched_smeserver-rdiff-backup-0.0.1/root/sbin/e-smith/do_rdiff-backup
7     --- smeserver-rdiff-backup-0.0.1/root/sbin/e-smith/do_rdiff-backup 2006-04-27 17:03:17.163839626 +1000
8     +++ mezzanine_patched_smeserver-rdiff-backup-0.0.1/root/sbin/e-smith/do_rdiff-backup 2006-04-27 16:59:42.581627815 +1000
9     @@ -1,10 +1,12 @@
10     #!/bin/sh
11    
12     -BACKUP=/media/usbdisk/rdiff-backup
13     +/sbin/e-smith/config get rdiff-backup || exit 0
14    
15     -if [ ! -d $BACKUP ]
16     +BACKUP_PATH=$(/sbin/e-smith/config getprop rdiff-backup BackupPath)
17     +
18     +if [ ! -d $BACKUP_PATH ]
19     then
20     - echo "$BACKUP does not exist - is it mounted?"
21     + echo "$BACKUP_PATH does not exist - is it mounted?"
22     exit 1
23     fi
24    
25     @@ -12,7 +14,7 @@
26    
27     ID=$(/sbin/e-smith/config getprop sysconfig SystemID)
28    
29     -DIR=$BACKUP/$ID
30     +DIR=$BACKUP_PATH/$ID
31    
32     [ -d $DIR ] || mkdir -p $DIR
33    

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