On 16. feb 2003 16:58, Oden Eriksson wrote: > > but i see another problem in your spec with: > > %_postun_userdel vocp > > because i played with this macro lately i found, that this can't be > > done, because helper script needed three parameters, otherwise fails: > > > > /usr/share/rpm-helper/del-user > > if [ $# != 3 ]; then > > echo "usage: $0 <pkg name> <num installed> <user name>" 1>&2 > > exit 1 > > fi > > > > pkg=$1 # name of the package > > num=$2 # number of packages installed > > name=$3 # name of the user > > Aha, thank you. But it looks like this in most of the Mandrake spec files I > have seen..., well very well, it's fixed now
yes, you are right, many of spec files use this macro wrong. i changed topic for this, because i think, that this can be useful information for all packagers.
msg92570/pgp00000.pgp
Description: PGP signature
