#!/bin/sh # # Shell script to update SQLite3 tables from Bacula Community version 3.0.x to 5.0.0 # echo " " echo "This script will update a Bacula SQLite3 database from version 11 to 12" echo " which is needed to convert from Bacula Community version 3.0.x to 5.0.x" echo " " bindir=@SQL_BINDIR@ PATH="$bindir:$PATH" cd @working_dir@ sqlite=@DB_TYPE@ db_name=@db_name@ DBV=`${sqlite} ${db_name} $sbin/regress.db <