summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 3fe131cd..217b6cd3 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -105,6 +105,7 @@ sub recover_url_from_list {
#- find . -name "*.rpm" > list
#- for exportable list file.
if (my @probe = map { m!^(.*)/\./! || m!^(.*)/[^/]*$! } cat_(statedir_list($urpm, $medium))) {
+ $urpm->{log}("recovering url from " . statedir_list($urpm, $medium));
($medium->{url}) = sort { length($a) <=> length($b) } @probe;
$urpm->{modified} = 1; #- ensure urpmi.cfg is handled using only partially hidden url + netrc, since file list won't be generated anymore
}