summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-03-07 17:33:54 +0100
committerJulian Andres Klode <jak@debian.org>2017-04-25 20:59:34 +0200
commitf2d33afaffb3cc76d96a8ac6bbc5bcb765103e29 (patch)
tree2b5740ad74c4fbeff96bebab3f673d919da8a88d
parent02f6418a3236218e3445004bd430c26dfd736d03 (diff)
Ignore \.ucf-[a-z]+$ like we do for \.dpkg-[a-z]+$
This gets rid of warnings about .ucf-dist files Reported-By: Axel Beckert (on IRC) (cherry picked from commit 5094697fe4b2459ff6f706a22006d3028369f3fa) (cherry picked from commit 0c42bab8534b4dc95dabdff2a8e08a3574291ec0)
-rw-r--r--apt-pkg/init.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc
index 0dfb10978..f5ca43465 100644
--- a/apt-pkg/init.cc
+++ b/apt-pkg/init.cc
@@ -81,6 +81,7 @@ 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]+$");
+ Cnf.Set("Dir::Ignore-Files-Silently::", "\\.ucf-[a-z]+$");
Cnf.Set("Dir::Ignore-Files-Silently::", "\\.save$");
Cnf.Set("Dir::Ignore-Files-Silently::", "\\.orig$");
Cnf.Set("Dir::Ignore-Files-Silently::", "\\.distUpgrade$");