act on the allow_recommends option when set.
git-svn-id: http://emdebian.org/svn/current@8399 563faec7-e20c-0410-992a-a66f704d0ccd
This commit is contained in:
parent
8e179560e8
commit
be36522bad
1 changed files with 2 additions and 1 deletions
|
@ -335,7 +335,8 @@ $config_str .= " -o Dir::Etc::Trusted=${dir}${etcdir}trusted.gpg.d/trusted.gpg";
|
||||||
$config_str .= " -o Apt::Get::AllowUnauthenticated=true"
|
$config_str .= " -o Apt::Get::AllowUnauthenticated=true"
|
||||||
if (defined $noauth);
|
if (defined $noauth);
|
||||||
$config_str .= " -o Apt::Get::Download-Only=true";
|
$config_str .= " -o Apt::Get::Download-Only=true";
|
||||||
$config_str .= " -o Apt::Install-Recommends=false";
|
$config_str .= " -o Apt::Install-Recommends=false"
|
||||||
|
if (not defined $allow_recommends);
|
||||||
$config_str .= " -o Dir=$dir";
|
$config_str .= " -o Dir=$dir";
|
||||||
$config_str .= " -o Dir::Etc=${dir}${etcdir} -o APT::Default-Release=*"
|
$config_str .= " -o Dir::Etc=${dir}${etcdir} -o APT::Default-Release=*"
|
||||||
if (not defined $preffile);
|
if (not defined $preffile);
|
||||||
|
|
Loading…
Reference in a new issue