]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.h
* merged with michael.vogt@ubuntu.com--2005/apt--mvo--0 to be in sync with debian
[apt.git] / apt-pkg / acquire-item.h
index b55ac526b51b882508b118596adbafe251704d46..3a6e93b1afd5a4da570795d7b4a6ddba126774f6 100644 (file)
@@ -156,6 +156,7 @@ class pkgAcqIndex : public pkgAcquire::Item
    pkgAcquire::ItemDesc Desc;
    string RealURI;
    string ExpectedMD5;
+   string CompressionExtension;
 
    public:
    
@@ -164,7 +165,7 @@ class pkgAcqIndex : public pkgAcquire::Item
    virtual void Done(string Message,unsigned long Size,string Md5Hash,
                     pkgAcquire::MethodConfig *Cnf);
    virtual string Custom600Headers();
-   virtual string DescURI() {return RealURI + ".gz";};
+   virtual string DescURI() {return RealURI + CompressionExtension;};
 
    pkgAcqIndex(pkgAcquire *Owner,string URI,string URIDesc,
               string ShortDesct, string ExpectedMD5, string compressExt="");