#!/bin/sh
#
-# shell script to Delete the SQLite Bacula database (same as deleting
-# the tables)
+# shell script to Delete the SQLite tables, we simply delete and recreate
+# the database.
#
+db_name=@db_name@
-rm -f @working_dir@/bacula.db
+rm -f @working_dir@/${db_name}.db
+touch @working_dir@/${db_name}.db