From 8e6db52c64a022dadb63b7c629d7e5941811c150 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 5 Sep 2017 20:28:11 +0200 Subject: [PATCH] Fix SQLite3 upgrade tables script fixes bug #2306 --- bacula/src/cats/update_sqlite3_tables.in | 105 +++++++++++++++++------ 1 file changed, 79 insertions(+), 26 deletions(-) diff --git a/bacula/src/cats/update_sqlite3_tables.in b/bacula/src/cats/update_sqlite3_tables.in index 6085ce8298..c6e65652ed 100644 --- a/bacula/src/cats/update_sqlite3_tables.in +++ b/bacula/src/cats/update_sqlite3_tables.in @@ -9,15 +9,14 @@ echo " " echo "This script will update a Bacula SQLite database from version 12-15 to 16" echo " " -echo "Depending on the current version of your catalog, you may have to run this script" -echo " multiple times" +echo "Depending on the current version of your catalog," +echo "you may have to run this script multiple times" echo " " bindir=@SQLITE_BINDIR@ PATH="$bindir:$PATH" cd @working_dir@ db_name=@db_name@ - DBVERSION=`sqlite3 ${db_name}.db <