summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-09-07 09:26:31 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-09-07 09:26:31 +0200
commitdebca0004bc8b57e487a5a8ffdec51b54ae2f22a (patch)
tree39950d8cfc0c8d2c783cbf08895e139d598d7a19 /apt-pkg
parent7a84afe3763988f08ae0beda48e55829a7c9f698 (diff)
* apt-pkg/init.cc:
- ignore ".distUpgrade" and ".save" files in sources.list.d (LP: #631770)
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/init.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc
index 846b27313..07bbe7061 100644
--- a/apt-pkg/init.cc
+++ b/apt-pkg/init.cc
@@ -85,6 +85,9 @@ bool pkgInitConfig(Configuration &Cnf)
Cnf.Set("Dir::Ignore-Files-Silently::", "\\.disabled$");
Cnf.Set("Dir::Ignore-Files-Silently::", "\\.bak$");
Cnf.Set("Dir::Ignore-Files-Silently::", "\\.dpkg-[a-z]+$");
+ // ubuntu specific
+ Cnf.Set("Dir::Ignore-Files-Silently::", "\\.distUpgrade$");
+ Cnf.Set("Dir::Ignore-Files-Silently::", "\\.save$");
// Translation
Cnf.Set("APT::Acquire::Translation", "environment");