diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:11 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:11 +0000 |
commit | 8b067c22e27a5939e45517091fbb8322ad7b71c8 (patch) | |
tree | 63c83f6279b4254d04cdf4566e222843dac443de /cmdline/apt-get.cc | |
parent | 95baf595094a2c12fa5bf88d1240e36413e6946e (diff) |
3 more bugs
Author: jgg
Date: 1999-11-16 03:16:34 GMT
3 more bugs
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r-- | cmdline/apt-get.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 217239b0d..0dd396a62 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: apt-get.cc,v 1.87 1999/10/28 05:54:45 jgg Exp $ +// $Id: apt-get.cc,v 1.88 1999/11/16 03:16:34 jgg Exp $ /* ###################################################################### apt-get - Cover for dpkg @@ -1228,6 +1228,13 @@ bool DoDSelectUpgrade(CommandLine &CmdL) /* */ bool DoClean(CommandLine &CmdL) { + if (_config->FindB("APT::Get::Simulate") == true) + { + cout << "Del " << _config->FindDir("Dir::Cache::archives") << "* " << + _config->FindDir("Dir::Cache::archives") << "partial/*" << endl; + return true; + } + // Lock the archive directory FileFd Lock; if (_config->FindB("Debug::NoLocking",false) == false) |