From 53b6ff32b8df0310f9813e38bdf108b54dd79787 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 28 Aug 2008 11:23:21 +0000 Subject: [PATCH] ebl Modify catalog scripts to have an easier packaging integration, using default variables. Make difference between SQLite3 and SQLite in db_get_type() git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7514 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/cats/grant_mysql_privileges.in | 10 +-- .../src/cats/grant_postgresql_privileges.in | 84 +++++++++---------- bacula/src/cats/make_mysql_tables.in | 2 +- bacula/src/cats/make_postgresql_tables.in | 2 +- bacula/src/cats/sqlite.c | 5 +- bacula/technotes-2.5 | 4 + 6 files changed, 57 insertions(+), 50 deletions(-) diff --git a/bacula/src/cats/grant_mysql_privileges.in b/bacula/src/cats/grant_mysql_privileges.in index bf89fe060a..bb53b46a94 100644 --- a/bacula/src/cats/grant_mysql_privileges.in +++ b/bacula/src/cats/grant_mysql_privileges.in @@ -2,19 +2,19 @@ # # shell script to grant privileges to the bacula database # -USER=@db_user@ +db_user=${db_user-@db_user@} bindir=@SQL_BINDIR@ -db_name=@db_name@ +db_name=${db_name-@db_name@} if $bindir/mysql $* -u root -f <?[]^`{|}~) General: +28Aug08 +ebl Modify catalog scripts to have an easier packaging integration, + using default variables. + Make difference between SQLite3 and SQLite in db_get_type() 27Aug08 kes Apply most of changes in a patch from: Michael Stapelberg -- 2.39.5