#!/bin/sh

umask 022
set -a

###################################################
# pull in environment variables common to
# postinstall/postremove/request/and.. scripts
###################################################

ADMINDIR=$TOPDIR/usr/bin/X11/700X/admin
. $ADMINDIR/env.vars


#---------------------------------------------#
# Make the R4 clients in XTHOME/bin/X11R4
# the default local clients
#---------------------------------------------#

BINDEST=`echo $NEWDIR/bin | sed 's!/usr/tftpdir!!'`

(
  cd ${BINDEST}
  if [ ! -d C ]
  then
    ln -s X11R4 C
  fi
)

exit 0
