# @(#)preremove 1.1 99/01/16 	(c) Sun Microsystems, Inc.
#
#	Copyright (c) 1998 Sun Microsystems, Inc.
#		All Rights Reserved.
#
# Preremove script to remove any existing locks and configuration
#

# Exit quietly if not last instance being removed
[ $PKG != $PKGINST ] && exit 0

# Otherwise attempt to clear out the offending directories
rm -fr $BASEDIR/etc/SUNWcms/.config/* || exit 1
rm -fr $BASEDIR/etc/SUNWcms/.locks/* || exit 1

exit 0

