On Mon, Oct 24, 2005 at 02:52:55PM +0200, Mattia Dongili wrote:
> On Mon, October 24, 2005 1:28 pm, Sven Luther said:
> > On Mon, Oct 24, 2005 at 12:53:22PM +0200, Mattia Dongili wrote:
> >> [sorry again for line wrapping]
> [...]
> > As you suggested below, does this sound reasonable ? Seems to work fine.
> 
> Yes, looks better now ;)

Well, i did go for this syntax : 

                $ret == 1 and (
                        $_ eq "/usr/sbin/mkinitrd" ?
                                compare_versions($version, "2.6.13") == 0
                        :
                        $_ eq "/usr/sbin/mkinitramfs") ?
                                compare_versions($version, "2.6.12") == 1
                        :
                        $_ eq "/usr/sbin/mkinitrd.yaird" ?
                                compare_versions($version, "2.6.8") == 1 &&
                                compare_versions($hostversion, "2.6.8") == 1
                        :
                        0
                )

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to