#
# shell script to drop Bacula SQLite tables
-cd @working_dir@
-rm -rf bacula.db
+if test xsqlite = x@DB_NAME@ ; then
+ cd @working_dir@
+ rm -rf bacula.db
+ echo "SQLite database dropped."
+else
+ echo "Bacula is not configured for an SQLite database."
+fi