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

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

 



On Thu, Mar 31, 2005, Ralf Corsepius wrote:

> On Thu, 2005-03-31 at 16:43 +0200, Matthias Kurz wrote:
> > 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.
> Well, how about rewriting the code being executed in %post/%postun to be
> Solaris-/bin/sh (Bourne-shell) compliant and to avoid bash proprietary
> constructs?

Well, how about writing code, that does not _need_ to be platform dependent
in a platform-independent way ? :) I just wrote a mail pointing in that
direction (before i saw your mail).


   (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