]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/init.cc
* apt-pkg/deb/dpkgpm.cc:
[apt.git] / apt-pkg / init.cc
index a26f1d01cb8cb67e8fb66dafeb97f8cb34f8ef6c..a209d7477708e78bfb7ca7fdc064f754ea1d9ddb 100644 (file)
@@ -14,6 +14,7 @@
 
 #include <apti18n.h>
 #include <config.h>
+#include <cstdlib>
 #include <sys/stat.h>
                                                                        /*}}}*/
 
@@ -56,6 +57,7 @@ bool pkgInitConfig(Configuration &Cnf)
        
    Cnf.Set("Dir::State::lists","lists/");
    Cnf.Set("Dir::State::cdroms","cdroms.list");
+   Cnf.Set("Dir::State::mirrors","mirrors/");
    
    // Cache
    Cnf.Set("Dir::Cache","var/cache/apt/");
@@ -104,6 +106,8 @@ bool pkgInitConfig(Configuration &Cnf)
       bindtextdomain(textdomain(0),Cnf.FindDir("Dir::Locale").c_str());
    }
 #endif
+   // Translation
+   Cnf.Set("APT::Acquire::Translation", "environment");
    
    return true;
 }