diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:54:04 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:54:04 +0000 |
commit | c1e78ee5a2697afc0902d1be294d71de93090909 (patch) | |
tree | f2cc9270b427a4ce9afed950243fd55efd341032 /cmdline/apt-get.cc | |
parent | e301bbe940636295d844ba8ab278c10828a004fa (diff) |
Various minor bug fixes
Author: jgg
Date: 1999-06-24 04:06:30 GMT
Various minor bug fixes
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r-- | cmdline/apt-get.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 69e986978..ca93dcd74 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.65 1999/06/13 05:06:40 jgg Exp $ +// $Id: apt-get.cc,v 1.66 1999/06/24 04:06:31 jgg Exp $ /* ###################################################################### apt-get - Cover for dpkg @@ -1025,6 +1025,9 @@ class LogCleaner : public pkgArchiveCleaner virtual void Erase(const char *File,string Pkg,string Ver,struct stat &St) { cout << "Del " << Pkg << " " << Ver << " [" << SizeToStr(St.st_size) << "B]" << endl; + + if (_config->FindB("APT::Get::Simulate") == false) + unlink(File); }; }; |