#!/bin/sh
#
# shell script to drop Bacula SQLite tables
db_name=bacula


if test xsqlite = xsqlite -o xsqlite3 = xsqlite ; then 
  cd /var/db/bacula
  rm -rf ${db_name}.db
  echo "SQLite database dropped."
else
  echo "Bacula is not configured for an SQLite database."
fi
