Anton Graham <[EMAIL PROTECTED]> writes:

> findutils, %post:
> 
> /usr/local/RPMS> rpm -qp --scripts findutils-4.1.1-7mdk.i586.rpm
> postinstall script (through /bin/sh):
> %_install_ifo find.info
> preuninstall script (through /bin/sh):
> if [ "$1" = "0" ];then /sbin/install-info \
>  /usr/share/info/find.info.bz2 --dir=/usr/share/info/dir --remove ;fi

thanks, this is fixed.
 
> gcc-cpp, %preun:
> 
> /usr/local/RPMS> rpm -q --scripts  gcc-cpp-2.95.2-9mdk
> postinstall script (through /bin/sh):
> /sbin/ldconfig
> /sbin/install-info /usr/share/info/cpp.info.bz2 --dir=/usr/share/info/dir;
> preuninstall script (through /bin/sh):
> if [ "$1" = "0" ];then /sbin/install-info \
>  /usr/share/info/cpp.info.bz2 --dir=/usr/share/info/dir --remove ;fi/sbin/ldconfig
>                
> (What's happening there, IMHO, is a problem with the %_remove_install_info
> macro.  Anything on the _next_ line gets appended to it.  Enclosing the
> macro (with argument) in braces or padding an extra line is needed here.)

yes -- btw i don't want to touch to gcc.



-- 
Guillaume Cottenceau -- Distribution Developer for MandrakeSoft
http://www.mandrakesoft.com/~gc/

Reply via email to