#!/bin/sh
#
# shell script to drop Bacula database(s)
#

bindir=@INGRES_BINDIR@
PATH="$bindir:$PATH"
db_name=${db_name:-@db_name@}
db_user=${db_user:-@db_user@}

if destroydb -u${db_user} ${db_name}
then
   echo "Drop of ${db_name} database succeeded."
else
   echo "Drop of ${db_name} database failed."
fi
exit 0
