# preremove script for SunPC 4.2  AnswerBook.
# created by mkdv2pkg.ksh @prototype-build-time
ABrelease=147
AB_Home=SUNWspcab
ABissue=2
AB_OS=5
AB_Type=
AB_Name="SunPC 4.2 AnswerBook"
AB_Pkg_Name=SUNWspcab

export ABrelease ABissue AB_OS AB_Install_Type AB_Type AB_Pkg_Name AB_Name
SizeOfIndex=280576
SizeOfContentsDB=402432
SizeOfPostScript=3330048
# 
###
# 
# --- above this line is code generated at the end of MakeABPackage.ksh
# --- the fixed part of the postinstall  script:
#
trap 'exit 3' 15

#
#General note and Caveat: class reloc directories are referred to
#via linknames made after pkgmk-time. The linkname is the original
# class dir. name WITHOUT the DOLLAR SIGN!!!

# Notify Webserver (if available)

if [ -x /usr/lib/ab2/bin/ab2admin ]
then
	# Don't use $BASEDIR in NIL_HEAVY
	/usr/lib/ab2/bin/ab2admin -o uninstall -t "${AB_Name}"

        /usr/lib/ab2/bin/ab2admin -o stop
        /usr/lib/ab2/bin/ab2admin -o start

fi

exit 0
 

