summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2008-07-10 13:04:46 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2008-07-10 13:04:46 +0000
commit1af3eeae76e7d6edc333b806f226973a0a061271 (patch)
tree20c2bec25cdfbd6d48ead716070cd2013cb0ad3e
parent945a5c415490405361ff56eed526f17d7a417baf (diff)
downloadurpmi-1af3eeae76e7d6edc333b806f226973a0a061271.tar
urpmi-1af3eeae76e7d6edc333b806f226973a0a061271.tar.gz
urpmi-1af3eeae76e7d6edc333b806f226973a0a061271.tar.bz2
urpmi-1af3eeae76e7d6edc333b806f226973a0a061271.tar.xz
urpmi-1af3eeae76e7d6edc333b806f226973a0a061271.zip
add comment wrt. <?xml*> field at top of metalink
-rw-r--r--urpm/download.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index e8401f84..70e7e98d 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -881,6 +881,8 @@ sub _create_metalink_ {
}
my $metalinkfile = "$urpm->{cachedir}/$options->{media}.metalink";
+ # Even if not required by metalink spec, this line is needed at top of
+ # metalink file, otherwise aria2 won't be able to autodetect it..
my $metalink = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
$metalink .= "<metalink version=\"3.0\" generator=\"URPMI\"\n";
$metalink .= "xmlns=\"http://www.metalinker.org/\">\n";