]> git.sur5r.net Git - bacula/bacula/commitdiff
Revert "Create user in the right database for Ingres."
authorKern Sibbald <kern@sibbald.com>
Sat, 10 Apr 2010 10:18:51 +0000 (12:18 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 10 Apr 2010 10:18:51 +0000 (12:18 +0200)
This reverts commit 809c70ad620adc067ea6f63649b7bd5c45d92579.

bacula/src/cats/create_ingres_database.in
bacula/src/cats/grant_ingres_privileges.in

index 1e4973de705a52006cbe0be5c9b17909a2dcd4c3..a287352f8634fdb186623a05d51ddfbec6bac986 100755 (executable)
@@ -4,7 +4,6 @@
 #
 
 bindir=@SQL_BINDIR@
-PATH="$bindir:$PATH"
 db_name=@db_name@
 
 # use SQL_ASCII to be able to put any filename into
@@ -27,5 +26,4 @@ then
 else
    echo "Creation of ${db_name} database failed."
 fi
-
 exit 0
index 82bab040d4af5ca67cde4732b855acd8e25a3cad..1aab5985d25618beb001ddda949c3f3ad28dc98e 100755 (executable)
@@ -4,12 +4,6 @@
 #
 bindir=@SQL_BINDIR@
 db_name=${db_name:-@db_name@}
-db_user=${db_user:-@db_user@}
-
-sql iidbdb $* <<END-OF-DATA
-CREATE USER ${db_user}
-\g
-END-OF-DATA
 
 if sql ${db_name} $* <<END-OF-DATA