]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Fixed guardian ignore file handling and linefead detection.
authorChristian Schmidt <christian.schmidt@ipfire.org>
Thu, 24 Jun 2010 19:39:07 +0000 (21:39 +0200)
committerChristian Schmidt <christian.schmidt@ipfire.org>
Thu, 24 Jun 2010 19:39:07 +0000 (21:39 +0200)
config/guardian/guardian.pl
doc/packages-list.txt

index b5c3f9c16ae78c3499b5c2f062396f6ffd784177..8c2e3b7046e98a3094bd1f28e8a7908dbbd7c866 100644 (file)
@@ -211,7 +211,8 @@ sub build_ignore_hash {
        if ($ignorefile ne "") {
                open (IGNORE, $ignorefile);
                while (<IGNORE>) {
-                       chop;
+                       $_=~ s/\s+$//;
+                       chomp;
                        next if (/\#/);  #skip comments
                        next if (/^\s*$/); # and blank lines
                        $ignore{$_}=1;
index 42a483d9c6255cb1ac31a57d6688dbac0b95c715..acde82953eb042a1f9f2c008043e69b6ef08281b 100644 (file)
 * rssdler-0.4.0a
 * rsync-3.0.7
 * rtorrent-0.8.6
-* samba-3.5.3
+* samba-3.5.4
 * sane-1.0.19
 * screen-4.0.3
 * sdparm-1.01