diff options
author | Dessalines <dessalines@users.noreply.github.com> | 2020-05-01 10:31:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 10:31:55 -0400 |
commit | d5f62e135552110a6bf47559fb4c57e935171361 (patch) | |
tree | 23373fd059d4e54a4d1939fa5f787d318c1a36ae | |
parent | 9b93d4c098da53cc24ca0b4df293122ef251f7d3 (diff) | |
parent | 6d73b167168699f4ca67f927d125f0be46e9aad9 (diff) |
Merge pull request #684 from pfcoder/fix-dbinit
fix shell quotation error of server db-init.sh
-rwxr-xr-x | server/db-init.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/db-init.sh b/server/db-init.sh index c9150e9d..87f39ead 100755 --- a/server/db-init.sh +++ b/server/db-init.sh @@ -37,7 +37,7 @@ done psql -c "CREATE USER $username WITH PASSWORD '$password' SUPERUSER;" -U postgres -psql -c 'CREATE DATABASE $dbname WITH OWNER $username;' -U postgres +psql -c "CREATE DATABASE $dbname WITH OWNER $username;" -U postgres export LEMMY_DATABASE_URL=postgres://$username:$password@localhost:$port/$dbname echo $LEMMY_DATABASE_URL |