]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/edsp/edspsystem.cc
merge patch from Daniel Hartwig to Show a error message if {,dist-}upgrade is used...
[apt.git] / apt-pkg / edsp / edspsystem.cc
index 6b9207451b3d2a7e7fe19823bdcaf7e1989927d5..aae969d9d546cfd6bdd274381bda28681e44f693 100644 (file)
@@ -91,7 +91,7 @@ signed edspSystem::Score(Configuration const &Cnf)
 {
    if (Cnf.Find("edsp::scenario", "") == "stdin")
       return 1000;
 {
    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;
 }
       return 1000;
    return -1000;
 }