]> git.sur5r.net Git - bacula/bacula/blob - update_bacula_tables_8_to_9
b7f3ca0f6c4dbd8d3c7639874bfb28e309d6a88f
[bacula/bacula] / update_bacula_tables_8_to_9
1 #!/bin/sh
2 #
3 # This routine alters the appropriately configured
4 #  Bacula tables for PostgreSQL, MySQL, or SQLite.
5 #
6 if test xsqlite = xpostgresql -o xsqlite3 = xpostgresql ; then
7   echo "Altering SQLite tables"
8   /etc/bacula/update_postgresql_tables $*
9 fi
10 if test xmysql = xpostgresql ; then
11   echo "Altering MySQL tables"
12   /etc/bacula/update_mysql_tables $*
13 fi
14 if test xpostgresql = xpostgresql ; then
15   echo "Altering PostgreSQL tables"
16   /etc/bacula/update_postgresql_tables $*
17 fi