[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#448743: autoremove build-deps



I couldn't find any work referencing this in the current apt sources, so I hacked in
this two-liner myself. Seems to work fine. Anything that's pulled in by build-dep is
set to autoinstall.

-- 
Aaron Haviland
34 Wayne Ave, Dudley, MA                       home:  [508] 943 - 7974
--- apt-0.7.9/cmdline/apt-get.cc~	2008-04-08 08:04:26.000000000 -0400
+++ apt-0.7.9/cmdline/apt-get.cc	2008-07-13 19:24:33.000000000 -0400
@@ -2539,6 +2539,8 @@
             {
                // We successfully installed something; skip remaining alternatives
                skipAlternatives = hasAlternatives;
+	       // And set it to automatic install
+	       Cache->MarkAuto(Pkg,true);
                continue;
             }
             else if (hasAlternatives)

Attachment: signature.asc
Description: Digital signature


Reply to: