#
# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#pragma ident   "@(#)preremove.src 1.3     04/09/15 SMI"
#


PATH=/bin:/sbin:/usr/sbin

if [ -z "$PKG_INSTALL_ROOT" ]; then PKG_INSTALL_ROOT=""; fi

set -u

LIBUSBUT_PLUGIN_LNK="$PKG_INSTALL_ROOT/usr/sfw/lib/libusb_plugins/libusbut.so.1"

#
# 
#

if [ -h "$LIBUSBUT_PLUGIN_LNK" ] ; then
	rm "$LIBUSBUT_PLUGIN_LNK"
fi

exit 0
