#! /sbin/sh
####################################################################
#	$Id: postremove,v 1.1 2004/03/28 19:57:31 scottk Exp $
# 	Copyright (c) Digi, Digi International Inc.
#
#	Post-removal script for Digi RealPort Driver.
#	Copyright (c) 1988-98 Digi International Inc.
#
#	For HP-UX 10.X & 11.X
#
#	NOTE: It is expected that the swinstall program will call
#             this script just after removing the files.
#				
####################################################################

PATH=$SW_PATH
export PATH


majorrev=`uname -r | cut -d '.' -f 2`
minorrev=`uname -r | cut -d '.' -f 3`



case ${majorrev}${minorrev} in
	1123)

		# Not sure why this is, but sam won't remove our empty directories...
		rm -rf /etc/conf/digi/10.20
		rm -rf /etc/conf/digi/11.00
		rm -rf /etc/conf/digi/11.00W
  		rm -rf /etc/conf/digi/11.11
		rm -rf /etc/conf/digi/11.11W
		rm -rf /etc/conf/digi/11.23

	;;


	*)

	;;

esac

exit 0
