summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-25 12:43:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-25 12:43:34 +0000
commit3c654443cc33dc30e21c16e577fcf0f6a7bad3a3 (patch)
tree06bb0af967f74fb3554da8c57ecf942f9329f1e9
parent4c7d748edf03fb206adaca596f2e188393d1bd93 (diff)
downloadurpmi-3c654443cc33dc30e21c16e577fcf0f6a7bad3a3.tar
urpmi-3c654443cc33dc30e21c16e577fcf0f6a7bad3a3.tar.gz
urpmi-3c654443cc33dc30e21c16e577fcf0f6a7bad3a3.tar.bz2
urpmi-3c654443cc33dc30e21c16e577fcf0f6a7bad3a3.tar.xz
urpmi-3c654443cc33dc30e21c16e577fcf0f6a7bad3a3.zip
- urpmf
o fix fallback on hdlist when xml-info not found
-rw-r--r--NEWS1
-rwxr-xr-xurpmf1
2 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index cbba6765..53644dd6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- urpmf:
o fix mirrorlist handling
+ o fix fallback on hdlist when xml-info not found
- urpmi, urpmi.addmedia, urpmi.update:
o have fatal errors on some errors that must not happen (eg: moving rpm from
download dir to cachedir)
diff --git a/urpmf b/urpmf
index 0132355e..0416d5b4 100755
--- a/urpmf
+++ b/urpmf
@@ -306,6 +306,7 @@ if ($needed_media_info{hdlist}) {
$urpm->{error}(N("no xml-info available for medium \"%s\"", $medium->{name})), next;
$urpm->{log}("getting information from $hdlist");
$urpm->parse_hdlist($hdlist, callback => $callback);
+ next;
}
require urpm::xml_info;
require urpm::xml_info_pkg;