#!/bin/sh
# $MidnightBSD$
MD5="/sbin/md5 -q"
MD5SUM=8c126ef981329520392bdbd6a2363a08
RM="/bin/rm"
TX_CONF="/usr/local/etc/wish.conf"

if [ "$2" = "POST-DEINSTALL" ]; then

	if [ -f ${TX_CONF} ]; then
		MD5CHECK=`${MD5} ${TX_CONF}`
		if [ "x${MD5CHECK}" = "x${MD5SUM}" ]; then
	 		${RM} ${TX_CONF}
		fi
	fi
fi
