diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-06-03 07:12:04 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-06-03 07:12:04 +0000 |
commit | b93ada182dd9bb850328810ad2bc0af14bd7e2a0 (patch) | |
tree | 291b3506599a93b6341ca6083283ee4428228b45 /urpm.pm | |
parent | 204480447ce4d4c09db3f4dc4ea31b2364faea09 (diff) | |
download | urpmi-b93ada182dd9bb850328810ad2bc0af14bd7e2a0.tar urpmi-b93ada182dd9bb850328810ad2bc0af14bd7e2a0.tar.gz urpmi-b93ada182dd9bb850328810ad2bc0af14bd7e2a0.tar.bz2 urpmi-b93ada182dd9bb850328810ad2bc0af14bd7e2a0.tar.xz urpmi-b93ada182dd9bb850328810ad2bc0af14bd7e2a0.zip |
This wasn't a good idea
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2498,7 +2498,7 @@ sub get_source_packages { $urpm->{error}(N("medium \"%s\" does not define any location for rpm files", $medium->{name})); } } - push @list, \%sources if keys %sources; + push @list, \%sources; } #- examine package list to see if a package has not been found. @@ -2622,7 +2622,8 @@ sub copy_packages_of_removable_media { my %removables; #- make sure everything is correct on input... - @{$urpm->{media} || []} == @$list or return; + $urpm->{media} or return; + @{$urpm->{media}} == @$list or return; #- examine if given medium is already inside a removable device. my $check_notfound = sub { |