#!/bin/bash
# uninstall
# THUM software uninstallation script
# $Revision: 1.3 $
# $Name: release-1_0_7 $
# $Date: 2006/09/17 21:40:53 $

soname="libTHUM.so.1"
libname="libTHUM.so"
libdir="/usr/lib"
ldconfig="/sbin/ldconfig"
bindir="/usr/local/bin"
confdir="/etc"

echo "Uninstalling shared library"
rm -f $lib/$libname
rm -f $lib/$soname
$ldconfig

echo "Uninstalling sample applications"
rm -f $bindir/thumctl
rm -f $bindir/thumchk.pl

echo "thumchk.conf still resides in $confdir/thumchk.conf.  You may delete it if you wish."
echo "NOTE: This script does not remove the Net::SMTP_auth Perl module."

echo "Done!"
exit
