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-03-07 17:33:54 +0100
commit5094697fe4b2459ff6f706a22006d3028369f3fa (patch)
tree65334e693848c9494602e7b343f7ae0484e899b3
parent2c19feb4e6c046b97078fdfd3e6e5bd6442b13fe (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)
-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 1981dba96..00d991027 100644
--- a/apt-pkg/init.cc
+++ b/apt-pkg/init.cc
@@ -172,6 +172,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$");