Re: How to specify shell for %post/%postun ?

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

 



On Wed, Mar 30, 2005, Valery Reznic wrote:

> > > %post -p /usr/bin/perl
> > 
> > Thanks, this works, but unfortunately it does not
> > solve my problem.
> > Is there a way to set the values in the environment
> > ? My problem is, that
> > i want to use existing packages. The packages are
> > created under Linux,
> > where bash acts as /bin/sh and i want to use them
> > under Solaris.
> > 
> > 
> >    (mk)
> > 
> You can use rpmrebuild
> (http://rpmrebuild.sourceforge.net/)
> in order to change shell iused in pre/post scripts in
> the rpm package.

Looks like a nice tool to do "sed s///"s or so in the spec files of the
really hard cases. For some time. In the end i have to come up with a
solution where i do not have to touch the packages. So, if i'm not able
to push my changes upstream, i have to give up. I do not want to work as
an editing machine for the rest of my life :)


   (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

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux