From be36522bad042807b2bb28b0ecbdc1e5ca799f23 Mon Sep 17 00:00:00 2001 From: codehelp Date: Mon, 24 Sep 2012 12:25:04 +0000 Subject: [PATCH] act on the allow_recommends option when set. git-svn-id: http://emdebian.org/svn/current@8399 563faec7-e20c-0410-992a-a66f704d0ccd --- multistrap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/multistrap b/multistrap index 35f5e70..a6a1cd7 100755 --- a/multistrap +++ b/multistrap @@ -335,7 +335,8 @@ $config_str .= " -o Dir::Etc::Trusted=${dir}${etcdir}trusted.gpg.d/trusted.gpg"; $config_str .= " -o Apt::Get::AllowUnauthenticated=true" if (defined $noauth); $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::Etc=${dir}${etcdir} -o APT::Default-Release=*" if (not defined $preffile);