]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.cc
Make directory paths configurable
[apt.git] / apt-pkg / acquire-item.cc
index d72e627254dbaffd2e9abe345007cb94ff13b9e0..7238d692edea5575f84f155a99dcfaf039315de9 100644 (file)
@@ -145,7 +145,7 @@ static void ReportMirrorFailureToCentral(pkgAcquire::Item const &I, std::string
             << FailCode << std::endl;
 #endif
    string const report = _config->Find("Methods::Mirror::ProblemReporting",
             << FailCode << std::endl;
 #endif
    string const report = _config->Find("Methods::Mirror::ProblemReporting",
-                                "/usr/lib/apt/apt-report-mirror-failure");
+                                LIBEXEC_DIR "/apt-report-mirror-failure");
    if(!FileExists(report))
       return;
 
    if(!FileExists(report))
       return;