/[smeserver]/rpms/e-smith-backup/sme7/e-smith-backup-2.0.0-fix-exclude-regex.patch
ViewVC logotype

Diff of /rpms/e-smith-backup/sme7/e-smith-backup-2.0.0-fix-exclude-regex.patch

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

Revision 1.1 by snetram, Sat Apr 9 15:08:19 2011 UTC Revision 1.2 by snetram, Sat Apr 9 15:18:59 2011 UTC
# Line 1  Line 1 
1  diff -up e-smith-backup-2.0.0/root/etc/e-smith/web/functions/backup.fix-exclude-regex e-smith-backup-2.0.0/root/etc/e-smith/web/functions/backup  diff -up e-smith-backup-2.0.0/root/etc/e-smith/web/functions/backup.fix-exclude-regex e-smith-backup-2.0.0/root/etc/e-smith/web/functions/backup
2  --- e-smith-backup-2.0.0/root/etc/e-smith/web/functions/backup.fix-exclude-regex        2011-04-09 14:09:33.000000000 +0200  --- e-smith-backup-2.0.0/root/etc/e-smith/web/functions/backup.fix-exclude-regex        2011-04-09 17:18:29.000000000 +0200
3  +++ e-smith-backup-2.0.0/root/etc/e-smith/web/functions/backup  2011-04-09 17:06:18.000000000 +0200  +++ e-smith-backup-2.0.0/root/etc/e-smith/web/functions/backup  2011-04-09 17:18:59.000000000 +0200
4  @@ -1230,7 +1230,7 @@ sub WorkstnBackupConfig1  @@ -1230,7 +1230,7 @@ sub WorkstnBackupConfig1
5           $d = new DirHandle "/media/";           $d = new DirHandle "/media/";
6           if (defined $d) {           if (defined $d) {
7               while (defined($_ = $d->read)) {               while (defined($_ = $d->read)) {
8  -                unless ($_ =~ m/(floppy|cdrom|\.\.|\.)/i) {  -                unless ($_ =~ m/(floppy|cdrom|\.\.|\.)/i) {
9  +                unless ($_ =~ m/(floppy|cdrom|^\.)/i) {  +                unless ($_ =~ m/(floppy|cdrom|^\.)/i) {
10                       push @usbdisks, $_ unless ($_ );                       push @usbdisks, $_;
11                   }                   }
12               }               }


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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