

set `uname -a`
if test "$1" = "SCO_SV"; then
    UNCOMPRESS=uncompress
else
    UNCOMPRESS=`which uncompress 2> /dev/null`
    if test "$UNCOMPRESS" = ""; then
        UNCOMPRESS=`which gunzip 2> /dev/null`
    fi
    if test "$UNCOMPRESS" = ""; then
       # this is used for SCO where 'which' command is not available.
       UNCOMPRESS=uncompress
       echo "UNCOMPRESS ROUTINE DEFAULTING TO $UNCOMPRESS"
    fi
fi


if test -f fxdemo.z -a ! -f fxdemo.Z; then
    mv fxdemo.z fxdemo.Z
    fi 

if test -f fxtar.z -a ! -f fxtar.Z; then
    mv fxtar.z fxtar.Z
    fi 

if test -f fxtar2.z -a ! -f fxtar2.Z; then
    mv fxtar2.z fxtar2.Z
    fi 

if test -f fxtar3.z -a ! -f fxtar3.Z; then
    mv fxtar3.z fxtar3.Z
    fi 

if test -f fxtar4.z -a ! -f fxtar4.Z; then
    mv fxtar4.z fxtar4.Z
    fi 


if test -f fxsrc.z -a ! -f fxsrc.Z; then
    cp fxsrc.z fxsrc.Z
    fi 

if test -f fxsrc2.z -a ! -f fxsrc2.Z; then
    cp fxsrc2.z fxsrc2.Z
    fi 

if test -f fxsrc3.z -a ! -f fxsrc3.Z; then
    cp fxsrc3.z fxsrc3.Z
    fi 

if test -f infoflex.gz; then
    gunzip infoflex 2> /dev/null
    tar xvf infoflex 2> /dev/null
    rm -f infoflex 2> /dev/null
    fi

if test -f infoflex.Z; then
    $UNCOMPRESS infoflex.Z 2> /dev/null
    tar xvf infoflex 2> /dev/null
    rm -f infoflex 2> /dev/null
    fi


$UNCOMPRESS fxdemo.Z  2> /dev/null 
tar xvf fxdemo 2> /dev/null
rm -f fxdemo 2> /dev/null

$UNCOMPRESS fxtar.Z  2> /dev/null 
tar xvf fxtar 2> /dev/null
rm -f fxtar 2> /dev/null

$UNCOMPRESS fxtar2.Z  2> /dev/null 
tar xvf fxtar2 2> /dev/null
rm -f fxtar2 2> /dev/null

$UNCOMPRESS fxtar3.Z  2> /dev/null 
tar xvf fxtar3 2> /dev/null
rm -f fxtar3 2> /dev/null

$UNCOMPRESS fxtar4.Z  2> /dev/null 
tar xvf fxtar4 2> /dev/null
rm -f fxtar4 2> /dev/null

$UNCOMPRESS fxsrc.Z  2> /dev/null 
tar xvf fxsrc 2> /dev/null
rm -f fxsrc 2> /dev/null

$UNCOMPRESS fxsrc2.Z  2> /dev/null 
tar xvf fxsrc2 2> /dev/null
rm -f fxsrc2 2> /dev/null

$UNCOMPRESS fxsrc3.Z  2> /dev/null 
tar xvf fxsrc3 2> /dev/null
rm -f fxsrc3 2> /dev/null

