diff options
author | Julian Andres Klode <jak@debian.org> | 2017-03-07 17:33:54 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-03-07 17:33:54 +0100 |
commit | 5094697fe4b2459ff6f706a22006d3028369f3fa (patch) | |
tree | 65334e693848c9494602e7b343f7ae0484e899b3 | |
parent | 2c19feb4e6c046b97078fdfd3e6e5bd6442b13fe (diff) | |
download | apt-5094697fe4b2459ff6f706a22006d3028369f3fa.tar.gz |
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.cc | 1 |
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$"); |