]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/init.cc
* merged from dpkg-log
[apt.git] / apt-pkg / init.cc
index 3ebd592c9eecdd9f5660c01ab165f6efdcf924b2..73b3c83decd5ab544bd4a5d00b02998975c41ebf 100644 (file)
@@ -51,6 +51,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/");
@@ -68,6 +69,10 @@ bool pkgInitConfig(Configuration &Cnf)
    Cnf.Set("Dir::Etc::parts","apt.conf.d");
    Cnf.Set("Dir::Etc::preferences","preferences");
    Cnf.Set("Dir::Bin::methods","/usr/lib/apt/methods");
+
+   // State   
+   Cnf.Set("Dir::Log","var/log/apt");
+   Cnf.Set("Dir::Log::Terminal","term.log");
    
    bool Res = true;
    
@@ -99,7 +104,6 @@ bool pkgInitConfig(Configuration &Cnf)
       bindtextdomain(textdomain(0),Cnf.FindDir("Dir::Locale").c_str());
    }
 #endif
-
    // Translation
    Cnf.Set("APT::Acquire::Translation", "environment");