From 6b7929ae443966e4f761371fb5b82edd08e7a4ac Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 14 Sep 2002 15:01:45 +0000 Subject: [PATCH] add missing files git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@151 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/cats/drop_bacula_tables.in | 10 ++++++++++ bacula/src/cats/make_bacula_tables.in | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100755 bacula/src/cats/drop_bacula_tables.in create mode 100755 bacula/src/cats/make_bacula_tables.in diff --git a/bacula/src/cats/drop_bacula_tables.in b/bacula/src/cats/drop_bacula_tables.in new file mode 100755 index 0000000000..658d290940 --- /dev/null +++ b/bacula/src/cats/drop_bacula_tables.in @@ -0,0 +1,10 @@ +#!/bin/sh +# +# Drop Bacula tables -- works for whatever is configured, +# MySQL or SQLite +# +if test xsqlite = x@DB_NAME@ ; then + source ./drop_sqlite_tables +else + source ./drop_mysql_tables +fi diff --git a/bacula/src/cats/make_bacula_tables.in b/bacula/src/cats/make_bacula_tables.in new file mode 100755 index 0000000000..726c8ff58a --- /dev/null +++ b/bacula/src/cats/make_bacula_tables.in @@ -0,0 +1,10 @@ +#!/bin/sh +# +# This routine makes the appropriately configured +# Bacula tables for either MySQL or SQLite +# +if test xsqlite = x@DB_NAME@ ; then + source ./make_sqlite_tables +else + source ./make_mysql_tables +fi -- 2.39.5