]> git.sur5r.net Git - bacula/bacula/commitdiff
add missing files
authorKern Sibbald <kern@sibbald.com>
Sat, 14 Sep 2002 15:01:45 +0000 (15:01 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 14 Sep 2002 15:01:45 +0000 (15:01 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@151 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/cats/drop_bacula_tables.in [new file with mode: 0755]
bacula/src/cats/make_bacula_tables.in [new file with mode: 0755]

diff --git a/bacula/src/cats/drop_bacula_tables.in b/bacula/src/cats/drop_bacula_tables.in
new file mode 100755 (executable)
index 0000000..658d290
--- /dev/null
@@ -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 (executable)
index 0000000..726c8ff
--- /dev/null
@@ -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