diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-09-29 06:42:39 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-09-29 06:42:39 +0000 |
commit | 57573a55ce93cb59d88c04aae1c34d045a1589b5 (patch) | |
tree | d776ac8298d8ef00062444446eb24cfadae8d638 /urpm.pm | |
parent | 0c582bbec80dc26b77975fba01f0dd87e775d062 (diff) | |
download | urpmi-57573a55ce93cb59d88c04aae1c34d045a1589b5.tar urpmi-57573a55ce93cb59d88c04aae1c34d045a1589b5.tar.gz urpmi-57573a55ce93cb59d88c04aae1c34d045a1589b5.tar.bz2 urpmi-57573a55ce93cb59d88c04aae1c34d045a1589b5.tar.xz urpmi-57573a55ce93cb59d88c04aae1c34d045a1589b5.zip |
Add a new option -m to urpmf to get the media in which a package has been
found.
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -481,6 +481,7 @@ sub configure { my $second_pass; do { foreach (grep { !$_->{ignore} && (!$options{update} || $_->{update}) } @{$urpm->{media} || []}) { + our $currentmedia = $_; #- hack for urpmf delete @$_{qw(start end)}; if ($_->{virtual}) { my $path = $_->{url} =~ m{^(?:file:/*)?(/[^/].*[^/])/*$} && $1; |