Gotom,

A few minor glitches:

>     # parisc64 boxes require latest fixes in the kernel 2.4.19-pa17 or later
>     # (in 2.4.x), 2.5.53-pa3 or later (in 2.5.x), to function properly.
>     # Note that parisc64 kernel version scheme is "`uname -r`-64".
>     if [ "$realarch" = parisc64 ]
>     then
>         kernel_ver=`uname -r`
>         if [ $ver = ${ver/pa/} ]

          if [ $kernel_ver = ${ver/pa/} ]

>         then
>             if dpkg --compare-versions "$kernel_ver" lt 2.4.19-64
>             then
>                 echo WARNING: This version of libc6 requires that you be
>                 echo running at least a 2.4.19-64 to work properly.
>                 echo Earlier kernels did not provide the proper functionality
>                 echo in order for the system to be stable. 
>                 exit 1
>             fi
>         else
>             if dpkg --compare-versions "$kernel_ver" lt 2.4.19-pa17

              then 

>                 echo WARNING: This version of libc6 requires that you be
>                 echo running at least a 2.4.19-pa17 (in 2.4) or 2.5.53-pa3 

                                                     \(in 2.4\)

>                 echo (in 2.5) to work properly.

                      \(in 2.5\)

>                 echo Earlier kernels did not provide the proper functionality
>                 echo in order for the system to be stable. 
>                 exit 1
>             fi
>         fi
>     fi


Looks good! I just tested out all the corner cases and it cathes them
fine. 

c.


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

Reply via email to