]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/init.cc
* apt-pkg/contrib/fileutl.cc:
[apt.git] / apt-pkg / init.cc
index 21472eb3b4e80551763bfba47d186f1600013d5c..7a332c86ecd3a2c56fcee3eb68dc9a8df750f0c9 100644 (file)
@@ -78,6 +78,11 @@ bool pkgInitConfig(Configuration &Cnf)
    Cnf.Set("Dir::Log::Terminal","term.log");
    Cnf.Set("Dir::Log::History","history.log");
 
+   Cnf.Set("Dir::Ignore-Files-Silently::", "~$");
+   Cnf.Set("Dir::Ignore-Files-Silently::", "\\.disabled$");
+   Cnf.Set("Dir::Ignore-Files-Silently::", "\\.bak$");
+   Cnf.Set("Dir::Ignore-Files-Silently::", "\\.dpkg-[a-z]+$");
+
    // Translation
    Cnf.Set("APT::Acquire::Translation", "environment");