tags 441891 + patch
thanks

Hi Daniel,

the following patch against src/cmdline/cmdline_show.cc corrects the
"Automatically installed: " line in "aptitude show <package>", which
currently shows the reversed value.  I've rebuilt aptitude and verified
that it works. :-)

--8<---------------cut here---------------start------------->8---
--- cmdline_show.cc~    2007-12-16 20:43:06.000000000 +0100
+++ cmdline_show.cc     2008-02-03 13:42:49.000000000 +0100
@@ -384,7 +384,7 @@
   if(!pkg.CurrentVer().end())
     fragments.push_back(cw::fragf("%s: %s%n", _("Automatically installed"),
                              (state.Flags & pkgCache::Flag::Auto)
-                             ? _("no") : _("yes")));
+                             ? _("yes") : _("no")));
 
   fragments.push_back(cw::fragf("%s%s%n", _("Version: "), ver.VerStr()));
   fragments.push_back(cw::fragf("%s%s%n", _("Priority: "),
--8<---------------cut here---------------end--------------->8---

Cheers,
       Sven



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to