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

Annotation 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


Revision 1.3 - (hide annotations) (download)
Wed Apr 13 20:46:05 2011 UTC (13 years, 7 months ago) by snetram
Branch: MAIN
CVS Tags: e-smith-backup-2_0_0-36_el4_sme, e-smith-backup-2_0_0-38_el4_sme, e-smith-backup-2_0_0-35_el4_sme, e-smith-backup-2_0_0-37_el4_sme, HEAD
Changes since 1.2: +1 -1 lines
Prevent .orig file

1 snetram 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
2 snetram 1.2 --- 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:18:59.000000000 +0200
4 snetram 1.1 @@ -1230,7 +1230,7 @@ sub WorkstnBackupConfig1
5 snetram 1.3 my $d = new DirHandle "/media/";
6 snetram 1.1 if (defined $d) {
7     while (defined($_ = $d->read)) {
8     - unless ($_ =~ m/(floppy|cdrom|\.\.|\.)/i) {
9     + unless ($_ =~ m/(floppy|cdrom|^\.)/i) {
10 snetram 1.2 push @usbdisks, $_;
11 snetram 1.1 }
12     }

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