Sophie

Sophie

distrib > Mageia > 6 > i586 > by-pkgid > 3cc6217c9527193739f7caed48f83222 > files > 47

bacula-dir-7.4.3-3.mga6.i586.rpm

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