#!/sbin/sh
########################################
#  Product: HPUXOpenSSL
#  Fileset: Latest
#  preremove
#  (c) Copyright Hewlett-Packard Company
####################################
UTILS="/usr/lbin/sw/control_utils"
    if [[ ! -f $UTILS ]]
    then
        echo "ERROR: Cannot find $UTILS"
        exit 1
    fi
    . $UTILS
exitval=$SUCCESS
####################################
# Remove The Links
####################################
# Remove Library File Links
####################################

#if [[ -d /opt/openssl/lib ]]
#then
#	for list in `ls /opt/openssl/lib | grep '^lib'`
#	do
#		rm -f /usr/lib/$list 1>/dev/null 2>/dev/null
#	done
#fi

#if [[ -d /opt/openssl/lib/pa20_64 ]]
#then
#	for list in `ls /opt/openssl/lib/pa20_64 | grep '^lib'`
#	do
#		rm -f /usr/lib/pa20_64/$list 1>/dev/null 2>/dev/null
#	done
#fi

#if [[ -d /opt/openssl/lib/engines ]]
#then
#	for list in `ls /opt/openssl/lib/engines | grep '^lib'`
#	do
#		rm -f /usr/lib/engines/$list 1>/dev/null 2>/dev/null
#	done
#fi

#if [[ -d /opt/openssl/lib/pa20_64/engines ]]
#then
#	for list in `ls /opt/openssl/lib/pa20_64/engines | grep '^lib'`
#	do
#		rm -f /usr/lib/pa20_64/engines/$list 1>/dev/null 2>/dev/null
#	done
#fi

####################################
exit $exitval
####################################
