On 2008/12/12 08:06, Marc Balmer wrote:
> > 
> > It's also not mentioned by pkg_info as something of interest.  It
> > should be, right?
> 
> Your are wrong.  When you install CUPS, a message is displayed.
> That message can be redisplayed at any time using 'pkg_info -M cups'.

These are too easy to miss at some point after installation.
What does anyone think about doing something like this?

...
Index: pkg_info
===================================================================
RCS file: /data/cvsroot/open/anoncvs/cvs/src/usr.sbin/pkg_add/pkg_info,v
retrieving revision 1.70
diff -u -p -r1.70 pkg_info
--- pkg_info    26 Oct 2008 16:16:37 -0000      1.70
+++ pkg_info    12 Dec 2008 09:44:17 -0000
@@ -139,6 +139,10 @@ sub print_description
                print;
        }
        close $fh;
+
+       if (-f $dir.DISPLAY) {
+               print "This package has an installation message.";
+       }
 }
 
 sub get_line
...

I didn't put too much thought into the wording, I intend it as
a quick diff to illustrate the discussion rather than to commit
directly - maybe we want to also mention other things like
UNDISPLAY, etc. Or maybe it /is/ fine just like this.

Reply via email to