#!/bin/sh
# $Id$

. install_var.sh

su - postgres -c "dropdb toughlog"
su - postgres -c "dropuser toughlog"

[ -n "`grep '^toughlog:' /etc/passwd`" ] && userdel -r toughlog
[ -n "`grep '^toughlog:' /etc/group`" ] && groupdel toughlog

rm -f /usr/local/bin/toughlogd
rm -f /usr/local/bin/toughlog2sql

