SPECS: p3scan.spec - fixed triggerun - rel. 2 STBR

Elan Ruusamäe glen at delfi.ee
Mon Mar 21 20:58:13 CET 2005


On Monday 21 March 2005 20:15, andree wrote:
> Author: andree                       Date: Mon Mar 21 18:15:31 2005 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - fixed triggerun
> - rel. 2 STBR
>
> ---- Files affected:
> SPECS:
>    p3scan.spec (1.3 -> 1.4)
[...]
>  %triggerun -- clamav
> -chown -R root /var/spool/%{name}
> -chown -R root /var/run/%{name}
> +if [ $2 = 0 ]; then
> + chown -R root /var/spool/%{name}
> + chown -R root /var/run/%{name}
> +fi

are you sure?
don't you mean [ $1 = 2 ] instead?
http://qa.mandrakesoft.com/twiki/bin/view/Main/RpmHowTo#Advanced

or i might be wrong... (that link doesn't describe triggers) what the $2 
contains?

-- 
glen




More information about the pld-devel-en mailing list