- merge repomd branch
[apt.git] / apt-pkg / sourcelist.cc
index 316bfc1..91d60bd 100644 (file)
@@ -113,6 +113,8 @@ bool pkgSourceList::Type::ParseLine(vector<pkgIndexFile *> &List,
    
    // CNC:2004-05-18 
    Dist = SubstVar(Dist,"$(ARCH)",_config->Find("APT::Architecture"));
+   // LORG:2006-02-06
+   Dist = SubstVar(Dist,"$(VERSION)",_config->Find("APT::DistroVersion"));
 
    // Grab the rest of the dists
    if (ParseQuoteWord(Buffer,Section) == false)