1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Fix Testing 2.4 (#91)

* Fix db_user create
This commit is contained in:
nemsia 2018-06-13 00:29:34 +02:00 committed by GitHub
parent ae04282b9e
commit 28e87db2b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -162,7 +162,7 @@ ynh_psql_dump_db() {
ynh_psql_create_user() {
user="$1"
pwd="$2"
sudo --login --user=postgres psql -c"CREATE USER $user WITH PASSWORD '$pwd'" postgres
sudo --login --user=postgres psql -c"CREATE USER $user WITH PASSWORD '$pwd';" postgres
}
# Drop a user