]> git.saurik.com Git - apt.git/commitdiff
* edsp/edspsystem.cc:
authorDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 23 Apr 2012 16:24:19 +0000 (18:24 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 23 Apr 2012 16:24:19 +0000 (18:24 +0200)
  - check with RealFileExists for scenario file as otherwise a directory
    like one provided with RootDir triggers the usage of EDSP

apt-pkg/edsp/edspsystem.cc
debian/changelog

index 6b9207451b3d2a7e7fe19823bdcaf7e1989927d5..aae969d9d546cfd6bdd274381bda28681e44f693 100644 (file)
@@ -91,7 +91,7 @@ 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;
 }
index e585530ff01f5564051faf4c6430637494b552b9..27747e23f4c0e88ec9ee1c422572497db664a91e 100644 (file)
@@ -16,8 +16,11 @@ apt (0.9.3) unstable; urgency=low
     - clearly separate 'positive' and 'negative' dependencies and
       their upgrade-resolution tries in MarkInstall and especially don't
       treat Conflicts differently compared to Breaks here
+  * edsp/edspsystem.cc:
+    - check with RealFileExists for scenario file as otherwise a directory
+      like one provided with RootDir triggers the usage of EDSP
 
- -- David Kalnischkies <kalnischkies@gmail.com>  Mon, 23 Apr 2012 17:43:53 +0200
+ -- David Kalnischkies <kalnischkies@gmail.com>  Mon, 23 Apr 2012 18:23:10 +0200
 
 apt (0.9.2) unstable; urgency=low