diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-11 13:54:06 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-11 13:54:06 +0000 |
commit | 17b0430c6874dfd896135ece7f317992134dbee3 (patch) | |
tree | eb727834cea0e1e37fb82fd2a6732c50142fb1e2 /urpm/media.pm | |
parent | a683954484cacf40286dc7f2736ef92cec6328d9 (diff) | |
download | urpmi-17b0430c6874dfd896135ece7f317992134dbee3.tar urpmi-17b0430c6874dfd896135ece7f317992134dbee3.tar.gz urpmi-17b0430c6874dfd896135ece7f317992134dbee3.tar.bz2 urpmi-17b0430c6874dfd896135ece7f317992134dbee3.tar.xz urpmi-17b0430c6874dfd896135ece7f317992134dbee3.zip |
allow using --skip even if skip.list file is missing
Diffstat (limited to 'urpm/media.pm')
-rw-r--r-- | urpm/media.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm index 883e5dce..db99910f 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -1867,7 +1867,7 @@ sub clean { sub get_packages_list { my ($file, $o_extra) = @_; my $val = []; - open(my $f, '<', $file) or return []; + open(my $f, '<', $file); foreach (<$f>, split /,/, $o_extra || '') { chomp; s/#.*$//; s/^\s*//; s/\s*$//; next if $_ eq ''; |