I’m not quite sure what you’ve written, except to rephrase.  But, if that helps…

 

--

David N. Lombard

 

My comments represent my opinions, not those of Intel Corporation.

 

-----Original Message-----
From:
Jason Brechin [mailto:[EMAIL PROTECTED]
Sent:
Wednesday, May 26, 2004 6:10 PM
To:
Lombard, David N
Cc:
OSCAR development; [EMAIL PROTECTED]
Subject: Re: [Oscar-devel] Proper use of rpm(1) scriptlets

 

I think the most important question to ask now is... which rpm had the problem?

The scriptlet argument chart is not really fully precise.  The most important values are (as quoted from http://www.rpm.org/max-rpm/s1-rpm-inside-scripts.html)

1.   When the first version of a package is installed, its %pre and %post scripts will be passed an argument equal to 1.

2.   When the last version of a package is erased, its %preun and %postun scripts will be passed an argument equal to 0.

   Install, no version currently installed          1
   Upgrade, with later version or forced install
    of same version                                >1
   Erase of last version currently installed        0
 
 
  

Reply via email to