diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-08-30 12:29:52 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-08-30 12:29:52 +0200 |
commit | 927cd722ce0e21c290a00eaa5670f0d41287a7df (patch) | |
tree | 3382089c284d47f0971af775ea3ca75c6d44beab /apt-pkg/contrib/fileutl.cc | |
parent | 1497b87da18106b38f004990ca4bf7ee79862b1d (diff) | |
parent | 4cb0cd1648e4a2623cb00a11b2db2649e286706d (diff) |
* merged fixes from the debian-sid bzr branch:
* Simplified Chinese (Aron Xu). Closes: #594458
* Bulgarian (Damyan Ivanov). Closes: #594627
* Portuguese (Miguel Figueiredo). Closes: #594668
* Korean (Changwoo Ryu). Closes: #594809
* Portuguese (Américo Monteiro)
* cmdline/apt-cache.cc:
- remove useless GetInitialize method
* cmdline/apt-get.cc:
- remove direct calls of ReadMainList and use the wrapper instead
to protect us from useless re-reads and two-times notice display
- remove death code by removing unused GetInitialize
* apt-pkg/depcache.cc:
- now that apt-get purge works on 'rc' packages let the MarkDelete
pass this purge forward to the non-pseudo package for pseudos
* apt-pkg/contrib/fileutl.cc:
- apply SilentlyIgnore also on files without an extension
* apt-pkg/contrib/configuration.cc:
- fix autoremove by using correct config-option name and
don't make faulty assumptions in error handling (Closes: #594689)
* apt-pkg/versionmatch.cc:
- let the pin origin actually work as advertised in the manpage
which means "" are optional and pinning a local archive does
work - even if it is a non-flat archive (Closes: #594435)
Diffstat (limited to 'apt-pkg/contrib/fileutl.cc')
-rw-r--r-- | apt-pkg/contrib/fileutl.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc index 91aecee65..2b73d1424 100644 --- a/apt-pkg/contrib/fileutl.cc +++ b/apt-pkg/contrib/fileutl.cc @@ -309,7 +309,8 @@ std::vector<string> GetListOfFilesInDir(string const &Dir, std::vector<string> c { if (Debug == true) std::clog << "Bad file: " << Ent->d_name << " → no extension" << std::endl; - _error->Notice("Ignoring file '%s' in directory '%s' as it has no filename extension", Ent->d_name, Dir.c_str()); + if (SilentIgnore.Match(Ent->d_name) == false) + _error->Notice("Ignoring file '%s' in directory '%s' as it has no filename extension", Ent->d_name, Dir.c_str()); continue; } } |