#! /usr/bin/sh
#
# ident "@(#)postbackout 1.2     03/01/31 SMI"
#
# Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#

PKG_INSTALL_ROOT=$ROOTDIR

#
# Remove whatever directories removef approves
#

rmdir `removef -R ${PKG_INSTALL_ROOT} SUNWi2cx /platform/SUNW,UltraAX-MP/kernel/drv/sparcv9` 1>/dev/null 2>&1
rmdir `removef -R ${PKG_INSTALL_ROOT} SUNWi2cx /platform/SUNW,UltraAX-MP/kernel/drv` 1>/dev/null 2>&1
rmdir `removef -R ${PKG_INSTALL_ROOT} SUNWi2cr /platform/SUNW,UltraAX-MP/kernel/drv` 1>/dev/null 2>&1
rmdir `removef -R ${PKG_INSTALL_ROOT} SUNWi2cx /platform/SUNW,UltraAX-MP/kernel` 1>/dev/null 2>&1
rmdir `removef -R ${PKG_INSTALL_ROOT} SUNWi2cr /platform/SUNW,UltraAX-MP/kernel` 1>/dev/null 2>&1
rmdir `removef -R ${PKG_INSTALL_ROOT} SUNWi2cx /platform/SUNW,UltraAX-MP` 1>/dev/null 2>&1
rmdir `removef -R ${PKG_INSTALL_ROOT} SUNWi2cr /platform/SUNW,UltraAX-MP` 1>/dev/null 2>&1

rmdir `removef -R ${PKG_INSTALL_ROOT} SUNWi2cx /platform/SUNW,UltraSPARC-IIi-cEngine/kernel/drv/sparcv9` 1>/dev/null 2>&1
rmdir `removef -R ${PKG_INSTALL_ROOT} SUNWi2cx /platform/SUNW,UltraSPARC-IIi-cEngine/kernel/drv` 1>/dev/null 2>&1
rmdir `removef -R ${PKG_INSTALL_ROOT} SUNWi2cr /platform/SUNW,UltraSPARC-IIi-cEngine/kernel/drv` 1>/dev/null 2>&1
rmdir `removef -R ${PKG_INSTALL_ROOT} SUNWi2cx /platform/SUNW,UltraSPARC-IIi-cEngine/kernel` 1>/dev/null 2>&1
rmdir `removef -R ${PKG_INSTALL_ROOT} SUNWi2cr /platform/SUNW,UltraSPARC-IIi-cEngine/kernel` 1>/dev/null 2>&1
rmdir `removef -R ${PKG_INSTALL_ROOT} SUNWi2cx /platform/SUNW,UltraSPARC-IIi-cEngine` 1>/dev/null 2>&1
rmdir `removef -R ${PKG_INSTALL_ROOT} SUNWi2cr /platform/SUNW,UltraSPARC-IIi-cEngine` 1>/dev/null 2>&1
rmdir `removef -R ${PKG_INSTALL_ROOT} SUNWi2cr /platform/SUNW,UltraSPARC-IIi-cEngine` 1>/dev/null 2>&1

removef -R ${PKG_INSTALL_ROOT} -f SUNWi2cx
removef -R ${PKG_INSTALL_ROOT} -f SUNWi2cr

