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

Re: How move a package to use alternatives



Ville Skyttä wrote:
> On Thursday 27 March 2008, Orion Poplawski wrote:
> 
>> /usr/bin/qsub exists and is owned by torque-1
>> torque-2 files are installed (/usr/bin/qsub not owned by torque-2)
>> torque-2 %post runs alternatives (installing /usr/bin/qsub symlink - or
>> perhaps not because /usr/bin/qsub exists)
>> torque-1 cleanup removes /usr/bin/qsub
>>
>> How can we get around this?
> 
> %posttrans instead of %post in torque-2?

I haven't read the rest of this thread, but the
unison->unison213/unison227 move did it using posttrans. See the
checked-in .spec files.

Watch out that EL-4 doesn't appear to support posttrans, but F-7, F-8,
devel, EL-5 do.


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