version 1.9, 1999/11/05 20:16:56 |
version 1.9.4.2, 2000/08/12 12:55:39 |
|
|
# Grab the major and minor from the installed library. |
# Grab the major and minor from the installed library. |
instmajor=`basename $instlib | awk 'BEGIN { FS="." } { print $3 } '` |
instmajor=`basename $instlib | awk 'BEGIN { FS="." } { print $3 } '` |
instminor=`basename $instlib | awk 'BEGIN { FS="." } { print $4 } '` |
instminor=`basename $instlib | awk 'BEGIN { FS="." } { print $4 } '` |
|
instteeny=`basename $instlib | awk 'BEGIN { FS="." } { print $5 + 0 } '` |
|
|
# If they're greater than the source, complain. |
# If they're greater than the source, complain. |
if [ "0$major" -eq "0$instmajor" ] ; then |
if [ "0$major" -eq "0$instmajor" ] ; then |
if [ "0$minor" -lt "0$instminor" ] ; then |
if [ "0$minor" -eq "0$instminor" ] ; then |
|
if [ "0$teeny" -lt "0$instteeny" ] ; then |
|
if [ $error -eq 0 -a $quiet -eq 0 ]; then |
|
echo -n "The following libraries have versions greater" |
|
echo " than the source:" |
|
fi |
|
echo $instlib > /dev/stderr |
|
error=1 |
|
fi |
|
elif [ "0$minor" -lt "0$instminor" ] ; then |
if [ $error -eq 0 -a $quiet -eq 0 ]; then |
if [ $error -eq 0 -a $quiet -eq 0 ]; then |
echo -n "The following libraries have versions greater" |
echo -n "The following libraries have versions greater" |
echo " than the source:" |
echo " than the source:" |