X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=bacula%2Fsrc%2Fcats%2Fgrant_postgresql_privileges.in;h=5480903bef612fcfb378176aa9b094244c84b01a;hb=7719dc64fae4bdf54aa7220fe01053fcd54fc34d;hp=fc69abd1f11d1bfa366487ada2b5b6d091b465ba;hpb=e2a19cf54a68b09d336140af29b78a3097bce95d;p=bacula%2Fbacula diff --git a/bacula/src/cats/grant_postgresql_privileges.in b/bacula/src/cats/grant_postgresql_privileges.in index fc69abd1f1..5480903bef 100644 --- a/bacula/src/cats/grant_postgresql_privileges.in +++ b/bacula/src/cats/grant_postgresql_privileges.in @@ -2,45 +2,61 @@ # # shell script to grant privileges to the bacula database # -USER=bacula +db_user=${db_user:-@db_user@} bindir=@SQL_BINDIR@ +db_name=${db_name:-@db_name@} -if $bindir/psql $* -f - <