|Summary:||sys-apps/less: show information message only first time it's installed|
|Product:||Gentoo Linux||Reporter:||Pacho Ramos <pacho>|
|Component:||Current packages||Assignee:||Gentoo's Team for Core System packages <base-system>|
|Package list:||Runtime testing required:||---|
|Bug Depends on:|
Description Pacho Ramos 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 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 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 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.