]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/edsp/edspsystem.cc
Fix the test suite harder
[apt.git] / apt-pkg / edsp / edspsystem.cc
index f65fcc0d245dbf3bcee235eb5086fd0fbbb993b6..f577efcbd46c097fa4fd31aa4f720fba3cea7e51 100644 (file)
@@ -15,7 +15,6 @@
 #include <apt-pkg/debversion.h>
 #include <apt-pkg/edspindexfile.h>
 #include <apt-pkg/edspsystem.h>
-#include <apt-pkg/fileutl.h>
 #include <apt-pkg/pkgcache.h>
 #include <apt-pkg/cacheiterators.h>
 
@@ -23,7 +22,6 @@
 #include <string>
 #include <vector>
 
-#include <apti18n.h>
                                                                        /*}}}*/
 
 // System::edspSystem - Constructor                                    /*{{{*/
@@ -81,13 +79,9 @@ bool edspSystem::ArchiveSupported(const char * /*Type*/)
    return false;
 }
                                                                        /*}}}*/
-// System::Score - Determine if we should use the edsp system          /*{{{*/
-signed edspSystem::Score(Configuration const &Cnf)
+// System::Score - Never use the EDSP system automatically             /*{{{*/
+signed edspSystem::Score(Configuration const &)
 {
-   if (Cnf.Find("edsp::scenario", "") == "stdin")
-      return 1000;
-   if (RealFileExists(Cnf.FindFile("edsp::scenario","")) == true)
-      return 1000;
    return -1000;
 }
                                                                        /*}}}*/