summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:53:43 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:53:43 +0000
commit2c0c53b340b9ba83f4b56e9892e4513516622018 (patch)
treedc2051dc8817d7dbf3e1b67e58a4d917b16edf4f /cmdline
parentcd89f86a6a67ffba52d8636fee1c4211ad0502e5 (diff)
Two bugs..
Author: jgg Date: 1999-05-13 03:09:33 GMT Two bugs..
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-get.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 740d69e29..f15766565 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.57 1999/04/20 05:59:29 jgg Exp $
+// $Id: apt-get.cc,v 1.58 1999/05/13 03:09:33 jgg Exp $
/* ######################################################################
apt-get - Cover for dpkg
@@ -1183,6 +1183,13 @@ bool DoSource(CommandLine &CmdL)
c1out << SizeToStr(DebBytes) << 'b';
c1out << " of source archives." << endl;
+ if (_config->FindB("APT::Get::Simulate",false) == true)
+ {
+ for (unsigned I = 0; I != J; I++)
+ cout << "Fetch Source " << Dsc[I].Package << endl;
+ return true;
+ }
+
// Just print out the uris an exit if the --print-uris flag was used
if (_config->FindB("APT::Get::Print-URIs") == true)
{