From 57573a55ce93cb59d88c04aae1c34d045a1589b5 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 29 Sep 2004 06:42:39 +0000 Subject: Add a new option -m to urpmf to get the media in which a package has been found. --- urpm.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index 7fc05b6c..ccca9c1c 100644 --- a/urpm.pm +++ b/urpm.pm @@ -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; -- cgit v1.2.1