[Fedora-packaging] printing textual messages in %post etc.?

Dominik 'Rathann' Mierzejewski dominik at greysector.net
Thu Dec 21 11:02:32 UTC 2006


On Thursday, 21 December 2006 at 09:06, Ralf Corsepius wrote:
> Hi,
> 
> Do the GuideLines/Does the FPC have an opinion on rpms intentionally
> printing out textual messages during installs?
> 
> At least, I could not find a corresponding paragraph in the GuideLines.
> 
> 
> Background: tripwire's spec (Currently under review) contains this:
> 
> %post
> ...
> # Print getting started help message
> if [ $1 -eq 1 ]; then
> 	echo To configure tripwire, read: %_docdir/%{name}-%{version}/README.Fedora
> fi
> 
> 
> I don't have a strong opinion on this and actually am ambivalent.
> 
> On one hand, such messages can be helpful to users.
> 
> On the other hand, in general, rpm-installs should be silent as much as
> possible.

Personally I'm against any install-time messages from rpm. If there are
any, they should indicate a warning or an error.
I was going to ask the submitter to remove this.

Regards,
R.

-- 
Fedora Extras contributor  http://fedoraproject.org/wiki/DominikMierzejewski
Livna contributor http://rpm.livna.org MPlayer developer http://mplayerhq.hu
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"




More information about the Fedora-packaging mailing list