diff options
author | David Kalnischkies <david@kalnischkies.de> | 2018-04-11 12:59:06 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2018-05-11 17:58:46 +0200 |
commit | bf53f39c9a0221b670ffff74053ed36fc502d5a0 (patch) | |
tree | 5038a5054962342e34905e44e20e359f30ab2367 /cmdline/apt-cache.cc | |
parent | c5e2fa2b772524c03b0c7f777ffea6f2485fe6ca (diff) |
Support --with-source in show & search commands
Diffstat (limited to 'cmdline/apt-cache.cc')
-rw-r--r-- | cmdline/apt-cache.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc index 085962699..f1b1e144d 100644 --- a/cmdline/apt-cache.cc +++ b/cmdline/apt-cache.cc @@ -470,12 +470,7 @@ static bool DumpAvail(CommandLine &) for (pkgCache::VerFile **J = VFList; *J != 0;) { pkgCache::PkgFileIterator File(*Cache,(*J)->File + Cache->PkgFileP); - if (File.IsOk() == false) - { - _error->Error(_("Package file %s is out of sync."),File.FileName()); - break; - } - + // FIXME: Add support for volatile/with-source files FileFd PkgF(File.FileName(),FileFd::ReadOnly, FileFd::Extension); if (_error->PendingError() == true) break; |