]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/vendorlist.cc
add options to disable specific checksums for Indexes
[apt.git] / apt-pkg / vendorlist.cc
index 589997081135cb0a5520a7ecad2dd3ef607e3aad..92ff3889448340688d14bc55f96f11194009eeaf 100644 (file)
@@ -21,11 +21,11 @@ bool pkgVendorList::ReadMainList()
    Configuration Cnf;
 
    string CnfFile = _config->FindDir("Dir::Etc::vendorparts");
-   if (FileExists(CnfFile) == true)
+   if (DirectoryExists(CnfFile) == true)
       if (ReadConfigDir(Cnf,CnfFile,true) == false)
         return false;
    CnfFile = _config->FindFile("Dir::Etc::vendorlist");
-   if (FileExists(CnfFile) == true)
+   if (RealFileExists(CnfFile) == true)
       if (ReadConfigFile(Cnf,CnfFile,true) == false)
         return false;