]> git.saurik.com Git - apt.git/commitdiff
Fixed download only
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:51:53 +0000 (16:51 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 16:51:53 +0000 (16:51 +0000)
Author: jgg
Date: 1998-12-05 04:30:34 GMT
Fixed download only

cmdline/apt-get.cc

index 31dfe97c16d7018f300e128c9a4523dd6b9624fc..49eca83acd052171dc23c2c71753e0cd6e138b08 100644 (file)
@@ -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)