preremove revision 7c478bd95313f5f23a4c958a745db2134aa03244
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# CDDL HEADER START
f754fa97bc698cc251d227173a95e4d39a88ac01Mark Andrews# The contents of this file are subject to the terms of the
a8f1c013b0fdc405ca4b5ec8316d3c9e3ad9d31bMark Andrews# Common Development and Distribution License, Version 1.0 only
a8f1c013b0fdc405ca4b5ec8316d3c9e3ad9d31bMark Andrews# (the "License"). You may not use this file except in compliance
a8f1c013b0fdc405ca4b5ec8316d3c9e3ad9d31bMark Andrews# with the License.
959fb01017fa83578e7c8776ed3baba3076a2409Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
959fb01017fa83578e7c8776ed3baba3076a2409Mark Andrews# See the License for the specific language governing permissions
46cb442c5c53f16ece23bfe7f7f7bf44f78b0e46Mark Andrews# and limitations under the License.
0f222d322b25373c4ef59d7c79f265b082ee98cdMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
0f222d322b25373c4ef59d7c79f265b082ee98cdMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0f222d322b25373c4ef59d7c79f265b082ee98cdMark Andrews# If applicable, add the following below this CDDL HEADER, with the
0f222d322b25373c4ef59d7c79f265b082ee98cdMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
0f222d322b25373c4ef59d7c79f265b082ee98cdMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
ae4f85dde3abb7d4afef9e869a83783cbf0aa29cMark Andrews# CDDL HEADER END
ae4f85dde3abb7d4afef9e869a83783cbf0aa29cMark Andrews#pragma ident "%Z%%M% %I% %E% SMI"
2132a56b5c6628925838165ae0640e55e3f36188Mark Andrews# Copyright 1992-2003 Sun Microsystems, Inc. All rights reserved.
2132a56b5c6628925838165ae0640e55e3f36188Mark Andrews# Use is subject to license terms.
b514e0cd0e7959a98dd59665553c8a3635ada10eMark Andrews# remove the libcrypt.* symlinks
6e8a8077faf96d8da0b6cf738913f5f1f86e4008Mark Andrews if [ -h $BASEDIR/usr/lib/sparcv9/libcrypt.so ]; then
5a6874e4ed544186ccb8519765be8c3a1804e033Mark Andrews if [ -f $BASEDIR/usr/lib/sparcv9/libcrypt.so.1 ]; then
713ad87a7f95d06f4bb3e0b92b91172cbebd6c68Mark Andrewsif [ "$ARCH" = "sparc" ]; then sparc_preremove; fi;