summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:54:01 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:54:01 +0000
commit024d1123bf43ec616da66c2481a8ee877e00b8cb (patch)
treec5d8d4061ea4fefd99dcd3674ef7046f35803542 /cmdline/apt-get.cc
parentb826eb9e018b9abccea67bfa08c075a342ebe59b (diff)
Havocs cancel patch
Author: jgg Date: 1999-06-13 05:06:40 GMT Havocs cancel patch
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r--cmdline/apt-get.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index a40b8a4c7..69e986978 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.64 1999/06/06 05:52:37 jgg Exp $
+// $Id: apt-get.cc,v 1.65 1999/06/13 05:06:40 jgg Exp $
/* ######################################################################
apt-get - Cover for dpkg
@@ -590,7 +590,7 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask = true,bool Saftey =
// Run it
if (_config->FindB("APT::Get::No-Download",false) == false)
- if( Fetcher.Run() == false)
+ if( Fetcher.Run() == pkgAcquire::Failed)
return false;
// Print out errors
@@ -679,7 +679,7 @@ bool DoUpdate(CommandLine &)
}
// Run it
- if (Fetcher.Run() == false)
+ if (Fetcher.Run() == pkgAcquire::Failed)
return false;
// Clean out any old list files
@@ -1217,7 +1217,7 @@ bool DoSource(CommandLine &CmdL)
}
// Run it
- if (Fetcher.Run() == false)
+ if (Fetcher.Run() == pkgAcquire::Failed)
return false;
// Print error messages