#!/bin/sh # # Shell script to update MySQL tables from Bacula Community version 5.0.x to 5.2.x # echo " " echo "This script will update a Bacula MySQL database from version 12 to 14" echo " which is needed to convert from Bacula Community version 5.0.x to 5.2.x" echo " " bindir=@SQLITE_BINDIR@ PATH="$bindir:$PATH" cd @working_dir@ db_name=@db_name@ DBVERSION=`sqlite3 ${db_name}.db <