#!/bin/sh # # This routine alters the appropriately configured # Bacula tables for PostgreSQL, MySQL, or SQLite. # if test xsqlite = xmysql -o xsqlite3 = xmysql ; then echo "Altering SQLite tables" /usr/local/bacula/scripts/update_mysql_tables $* fi if test xmysql = xmysql ; then echo "Altering MySQL tables" /usr/local/bacula/scripts/update_mysql_tables $* fi if test xpostgresql = xmysql ; then echo "Altering PostgreSQL tables" /usr/local/bacula/scripts/update_postgresql_tables $* fi