summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-08-09 15:08:58 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-08-09 15:08:58 +0200
commite9ae36778e841f09ad195c17004e711bf7b7abae (patch)
tree24dd8611d4c6705445c3d6f19da89279a6245b81
parent754229c5d8e929a221645a5c56c1bd4274910c26 (diff)
* cmdline/apt-get.cc:
- added "{no-}install-recommends" option to apt-get * doc/examples/configure-index: - recommends/suggests option documented
-rw-r--r--cmdline/apt-get.cc1
-rw-r--r--doc/examples/configure-index4
2 files changed, 5 insertions, 0 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 6979fa8f2..b419a05d9 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -2524,6 +2524,7 @@ int main(int argc,const char *argv[])
{0,"only-source","APT::Get::Only-Source",0},
{0,"arch-only","APT::Get::Arch-Only",0},
{0,"allow-unauthenticated","APT::Get::AllowUnauthenticated",0},
+ {0,"install-recommends","APT::Install-Recommends",CommandLine::Boolean},
{'c',"config-file",0,CommandLine::ConfigFile},
{'o',"option",0,CommandLine::ArbItem},
{0,0,0,0}};
diff --git a/doc/examples/configure-index b/doc/examples/configure-index
index f8abd75ed..c4329dfa0 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -90,6 +90,10 @@ APT
Cache-Limit "4194304";
Default-Release "";
+ // consider Recommends, Suggests as important dependencies that should
+ // be installed by default
+ APT::Install-Recommends "false";
+ APT::Install-Suggests "false";
// Write progress messages on this fd (for stuff like base-config)
Status-Fd "-1";