mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Merge branch 'development' of github.com:th3r00t/pyShelf into development
missed upstream changes
This commit is contained in:
2
installer
vendored
2
installer
vendored
@@ -305,7 +305,7 @@ if RequiredServices().db_server_found(req) is False:
|
|||||||
db_name = "pyshelf"
|
db_name = "pyshelf"
|
||||||
psql_cmd = """
|
psql_cmd = """
|
||||||
CREATE DATABASE %s;
|
CREATE DATABASE %s;
|
||||||
CREATE USER %s WITH ENCRYPTED PASSWORD \'%s\';
|
CREATE USER %s WITH PASSWORD \'%s\';
|
||||||
GRANT ALL PRIVILEGES ON DATABASE %s TO %s;
|
GRANT ALL PRIVILEGES ON DATABASE %s TO %s;
|
||||||
""" % (db_name, sql_user, sql_pass, db_name, sql_user)
|
""" % (db_name, sql_user, sql_pass, db_name, sql_user)
|
||||||
_sql_file = "create_db.sql"
|
_sql_file = "create_db.sql"
|
||||||
|
|||||||
Reference in New Issue
Block a user