]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/edsp/edspsystem.cc
add default and override handling for Cnf::FindVector
[apt.git] / apt-pkg / edsp / edspsystem.cc
index 10d75771a50a10d62af3f664cc01b176310cdccb..aae969d9d546cfd6bdd274381bda28681e44f693 100644 (file)
@@ -91,13 +91,13 @@ signed edspSystem::Score(Configuration const &Cnf)
 {
    if (Cnf.Find("edsp::scenario", "") == "stdin")
       return 1000;
-   if (FileExists(Cnf.FindFile("edsp::scenario","")) == true)
+   if (RealFileExists(Cnf.FindFile("edsp::scenario","")) == true)
       return 1000;
    return -1000;
 }
                                                                        /*}}}*/
 // System::AddStatusFiles - Register the status files                  /*{{{*/
-bool edspSystem::AddStatusFiles(vector<pkgIndexFile *> &List)
+bool edspSystem::AddStatusFiles(std::vector<pkgIndexFile *> &List)
 {
    if (StatusFile == 0)
    {