diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-01-31 02:16:17 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-01-31 02:16:17 +0100 |
commit | e57a5bff9c131aaa02f5756186927c755289089e (patch) | |
tree | 9edac0d43c875c18c7c3175c70cb83dfeef44421 /cmdline/apt-get.cc | |
parent | f99da9089c1122bdb47173171d3c6a692fb4d439 (diff) |
* cmdline/apt-get.cc:
- don't mark as manually if in download only (Closes: #468180)
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r-- | cmdline/apt-get.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index dede0137e..34ae2fed9 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -1776,7 +1776,8 @@ bool DoInstall(CommandLine &CmdL) if(!Remove && Cache[Pkg].Install() == false && (Cache[Pkg].Flags & pkgCache::Flag::Auto) && - _config->FindB("APT::Get::ReInstall",false) == false) + _config->FindB("APT::Get::ReInstall",false) == false && + _config->FindB("APT::Get::Download-Only",false) == false) { ioprintf(c1out,_("%s set to manually installed.\n"), Pkg.Name()); |