summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apt-private/private-install.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc
index 213b3b90c..6c4b30da0 100644
--- a/apt-private/private-install.cc
+++ b/apt-private/private-install.cc
@@ -111,6 +111,8 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask, bool Safety)
// force a hashsum for compatibility reasons
_config->CndSet("Acquire::ForceHash", "md5sum");
}
+ else if (_config->FindB("APT::Get::Simulate") == true)
+ ;
else if (Fetcher.GetLock(_config->FindDir("Dir::Cache::Archives")) == false)
return false;