]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/edsp/edspsystem.cc
elimate duplicated code in pkgIndexFile subclasses
[apt.git] / apt-pkg / edsp / edspsystem.cc
index f65fcc0d245dbf3bcee235eb5086fd0fbbb993b6..c4583252f730f679a4c628b5efdac115c95a77b5 100644 (file)
@@ -81,13 +81,9 @@ bool edspSystem::ArchiveSupported(const char * /*Type*/)
    return false;
 }
                                                                        /*}}}*/
    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;
 }
                                                                        /*}}}*/
    return -1000;
 }
                                                                        /*}}}*/