- don't download filelists.xml.gz (#307105)
authorJan Kupec <jkupec@suse.cz>
Mon, 17 Sep 2007 14:33:00 +0000 (14:33 +0000)
committerJan Kupec <jkupec@suse.cz>
Mon, 17 Sep 2007 14:33:00 +0000 (14:33 +0000)
zypp/repo/yum/Downloader.cc

index d338a591231f8a431ca6d62465ac2346b7213d65..86e2b9c47988db37a8e90aa73fa518ed7692fe68 100644 (file)
@@ -57,12 +57,19 @@ bool Downloader::repomd_Callback( const OnMediaLocation &loc,
 {
   MIL << dtype << " : " << loc << endl;
 
+  //! \todo do this through a ZConfig call so that it is always in sync with parser
   // skip other
   if ( dtype == ResourceType::OTHER )
   {
     MIL << "Skipping other.xml" << endl;
     return true;
   }
+  // skip filelists
+  if ( dtype == ResourceType::FILELISTS )
+  {
+    MIL << "Skipping filelists.xml.gz" << endl;
+    return true;
+  }
 
   this->enqueueDigested(loc);