Created
November 11, 2010 19:26
-
-
Save whiteley/673025 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# This routine alters the appropriately configured | |
# Bacula tables for PostgreSQL, Ingres, MySQL, or SQLite. | |
# | |
if test xsqlite3 = xpostgresql ; then | |
echo "Altering SQLite tables" | |
/usr/libexec/bacula/update_postgresql_tables $* | |
fi | |
if test xmysql = xpostgresql ; then | |
echo "Altering MySQL tables" | |
/usr/libexec/bacula/update_mysql_tables $* | |
fi | |
if test xingres = xpostgresql ; then | |
echo "Altering Ingres tables" | |
/usr/libexec/bacula/update_ingres_tables $* | |
fi | |
if test xpostgresql = xpostgresql ; then | |
echo "Altering PostgreSQL tables" | |
/usr/libexec/bacula/update_postgresql_tables $* | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment