[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpms/lineakd/devel lineakd.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2



On Sun, 21 May 2006 12:27:50 -0700, Chris Petersen wrote:

> Author: xris
> 
> Update of /cvs/extras/rpms/lineakd/devel

> %post
> 
> /sbin/ldconfig
> 
> ################################################################################
> 
> %postun
> 
> /sbin/ldconfig
> 
> ################################################################################

This .spec file should not have been approved in a review. Inserting
such "#######..." lines in the middle of [and below] scriptlet sections
bears a big risk. They become part of the scriptlets itself. This causes
bad breakage in RPM transactions when /bin/sh is not the scriptlet interpreter.
Has happened before regularly, so avoid "######..." lines like the plague.
Use multiple empty lines instead.

Further, in this case the better scriptlets would be to make
/sbin/ldconfig the program which to execute directly:

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]