Parent Directory | Revision Log | Revision Graph | Patch
Revision 1.2 by snetram, Sat Apr 9 12:18:45 2011 UTC | Revision 1.3 by snetram, Wed Apr 13 20:42:08 2011 UTC | |
---|---|---|
# | Line 20 diff -up e-smith-backup-2.0.0/root/etc/e | Line 20 diff -up e-smith-backup-2.0.0/root/etc/e |
20 | - next if /cdrom/; | - next if /cdrom/; |
21 | - push @usbdisks, $_; | - push @usbdisks, $_; |
22 | - } | - } |
23 | + $d = new DirHandle "/media/"; | + my $d = new DirHandle "/media/"; |
24 | + if (defined $d) { | + if (defined $d) { |
25 | + while (defined($_ = $d->read)) { | + while (defined($_ = $d->read)) { |
26 | + unless ($_ =~ m/(floppy|cdrom|\.\.|\.)/i) { | + unless ($_ =~ m/(floppy|cdrom|\.\.|\.)/i) { |
|
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |