]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/init.cc
apt-pkg/deb/dpkgpm.{cc,h}
[apt.git] / apt-pkg / init.cc
index 579a19ab9ee1c5184a608685ba57d3db2671df27..2617603ec140e7878186c5a24da89eac8ac8e0b0 100644 (file)
@@ -14,6 +14,7 @@
 
 #include <apti18n.h>
 #include <config.h>
+#include <cstdlib>
 #include <sys/stat.h>
                                                                        /*}}}*/
 
@@ -73,6 +74,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::Name","term.log");
    
    bool Res = true;