summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:51:53 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:51:53 +0000
commit45b5fa67a850b24cdb983fc2fbbe4268aa6aa632 (patch)
treed23c3a982cf3e647e78bedb4ea31c89a7f693591 /cmdline
parent5cb5d8dc4318227ca3ec8976f67e8cfd2302d1ff (diff)
Fixed download only
Author: jgg Date: 1998-12-05 04:30:34 GMT Fixed download only
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-get.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 31dfe97c1..49eca83ac 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.21 1998/12/05 02:56:45 jgg Exp $
+// $Id: apt-get.cc,v 1.22 1998/12/05 04:30:34 jgg Exp $
/* ######################################################################
apt-get - Cover for dpkg
@@ -588,7 +588,10 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask = true)
cerr << " " << (*I)->ErrorText << endl;
Failed = true;
}
-
+
+ if (_config->FindB("APT::Get::Download-Only",false) == true)
+ return true;
+
if (Failed == true && _config->FindB("APT::Fix-Missing",false) == false)
{
if (Transient == true)