mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix tab
This commit is contained in:
parent
e3dfd63481
commit
f1e097a5bd
1 changed files with 2 additions and 2 deletions
|
@ -74,9 +74,9 @@ ynh_psql_create_db() {
|
||||||
local db=$1
|
local db=$1
|
||||||
local user=${2:-}
|
local user=${2:-}
|
||||||
|
|
||||||
local sql="CREATE DATABASE ${db};"
|
local sql="CREATE DATABASE ${db};"
|
||||||
|
|
||||||
# grant all privilegies to user
|
# grant all privilegies to user
|
||||||
if [ -n "$user" ]; then
|
if [ -n "$user" ]; then
|
||||||
sql+="GRANT ALL PRIVILEGES ON DATABASE ${db} TO ${user} WITH GRANT OPTION;"
|
sql+="GRANT ALL PRIVILEGES ON DATABASE ${db} TO ${user} WITH GRANT OPTION;"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue