more install.sh

Mark Nienberg lists at tippingmar.com
Tue Oct 21 16:46:03 IST 2008


Julian Field wrote:
>
> Mark Nienberg wrote:
>>
>> Could the installer test for already installed rpms before building 
>> and attempting installation of the new one?
>> In the above example it would run "rpm -q perl-IO-stringy" and then 
>> do some sort of version checking.
> The version checking you need to do is far from trivial. 2.10 is 
> greater than 2.9, but not in numerical or alphabetical terms. It's 
> quite a tricky problem. I really don't want to open that Pandora's 
> box! :-)
>
I'll bet there is a perl module that does version comparison.  But that 
means yet another perl module dependency. Maybe best not to go there.

Mark


More information about the MailScanner mailing list