From b3f81a28cee27efe9355c43be040df8841bf55e6 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Tue, 21 Jun 2005 01:16:02 +0000 Subject: Ignore empty lines in skiplist --- urpm.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/urpm.pm b/urpm.pm index f25f8735..ab545aa9 100644 --- a/urpm.pm +++ b/urpm.pm @@ -2369,6 +2369,7 @@ sub get_packages_list { open my $f, $file or return {}; foreach (<$f>, split /,/, $extra || '') { chomp; s/#.*$//; s/^\s*//; s/\s*$//; + next if $_ eq ''; push @$val, $_; } close $f; -- cgit v1.2.1