summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-29 13:00:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-29 13:00:58 +0000
commit2099cfcd9085af67d9416d8bc8aad67668860129 (patch)
tree82fc7bfa3d2a3aee147255b13c598410d57337af /urpm/media.pm
parent1c8af50afa7088c95428f25904763f57ad8bcc55 (diff)
downloadurpmi-2099cfcd9085af67d9416d8bc8aad67668860129.tar
urpmi-2099cfcd9085af67d9416d8bc8aad67668860129.tar.gz
urpmi-2099cfcd9085af67d9416d8bc8aad67668860129.tar.bz2
urpmi-2099cfcd9085af67d9416d8bc8aad67668860129.tar.xz
urpmi-2099cfcd9085af67d9416d8bc8aad67668860129.zip
log recovering url (with password) from list
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
}