Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-updates > by-pkgid > b65b71e074e26313355f9f3e18aa8f83 > files > 46

bacula-dir-7.0.5-14.6.mga5.x86_64.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