[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Parameter passing between %pre and %post section
- From: bob proulx com (Bob Proulx)
- To: rpm-list redhat com
- Subject: Re: Parameter passing between %pre and %post section
- Date: Tue, 7 Aug 2007 23:24:34 -0600
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]