Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via or IRC

Bug 554722

Summary: sys-apps/less: show information message only first time it's installed
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 440214    

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.