# #ident "@(#)postinstall 1.5 97/08/13 SMI" # # Copyright (c) 1993 by Sun Microsystems, Inc. # # # install a domestic version of the libcrypt symlink # in place of the international symlink. # # remove the international link if it exists # if [ -h $BASEDIR/usr/lib/libcrypt.a ]; then rm -f $BASEDIR/usr/lib/libcrypt.a fi if [ -h $BASEDIR/usr/lib/libcrypt.so ]; then rm -f $BASEDIR/usr/lib/libcrypt.so fi if [ -h $BASEDIR/usr/lib/libcrypt.so.1 ]; then rm -f $BASEDIR/usr/lib/libcrypt.so.1 fi # make the symlink # ln -s libcrypt_d.a $BASEDIR/usr/lib/libcrypt.a || exit 2 ln -s libcrypt_d.so $BASEDIR/usr/lib/libcrypt.so || exit 2 ln -s libcrypt_d.so.1 $BASEDIR/usr/lib/libcrypt.so.1 || exit 2 exit 0