Re: Parameter passing between %pre and %post section

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

 



Lis Maria wrote:
> I am trying to set a variable with some value in the %pre section, and I am
> trying to access the variable in the %post setion but cannot.

As you have discovered that won't work.  The %pre and %post sections
are two different scripts each executed at different stages in the
install process.  Because they are different scripts any variables set
in one won't be available in the other.

> Is there any possible way for passing variables between %pre and
> %post section ?

Not directly no.

Could you say a few words about what you are trying to do?

Bob

_______________________________________________
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