Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554722 - sys-apps/less: show information message only first time it's installed
Summary: sys-apps/less: show information message only first time it's installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: first-time-messages
  Show dependency tree
 
Reported: 2015-07-13 09:41 UTC by Pacho Ramos
Modified: 2016-04-06 22:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2015-07-13 09:41:29 UTC
Currently, every time less is rebuild or updated I get this:
LOG: postinst
lesspipe offers colorization options.  Run 'lesspipe -h' for info.

But I think it would be better to only show it the first time the package is installed as, after that, we already know that information and it is not useful anymore (you can use readme.gentoo.eclass or REPLACED_VERSIONS for that)

Thanks a lot
Comment 1 SpanKY gentoo-dev 2015-07-13 10:13:02 UTC
trying to do output for first install doesn't work for packages in stage3.  effectively no one sees them ;).
Comment 2 Pacho Ramos gentoo-dev 2015-07-13 18:52:03 UTC
Ah, right :S

Are you sure is so important to tell people to run "lesspipe -h" then? :/ Well, in general when I wonder about how to use a tool I try to run their "--help" option or look to their manpage :|
Comment 3 SpanKY gentoo-dev 2016-04-06 22:06:56 UTC
this has been fixed w/483-r1+ by virtue of moving the colorization support to an external package.  and as you said, people can still somewhat discover this via running `lesspipe --help` themselves.