On Thu, Mar 31, 2005, Panu Matilainen wrote: > On Wed, 30 Mar 2005, Matthias Kurz wrote: > > >On Wed, Mar 30, 2005, Panu Matilainen wrote: > > > >>On Wed, 2005-03-30 at 20:05 +0200, Matthias Kurz wrote: > >>>Hi. > >>> > >>>'%post' and '%postun' are using /bin/sh as default shell. How can i > >>>change this ? > >>>I found that this may depend on the setting of the values behind > >>>RPMTAG_POSTINPROG and RPMTAG_POSTUNPROG. How can i _set_ these ? > >> > >>%post -p /usr/bin/perl BTW: This is plain dirty. When, then it _should_ look like %post -p %{_bindir}/perl But i'd prefer to stay away from the path (and -p) at all. Who knows, whether %{_usrbindir} (which does not exist in my rpm installation) or something like that (%{_localbindir}, %{l_bindir}) would be better. Too few people respect the case that there are multiple platforms. (mk) -- Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47 >> Im prämotorischen Cortex kann jeder ein Held sein. (bdw) << _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list