fix shell quotation error of server db-init.sh

pull/744/head
pfcoder 2020-05-01 21:58:52 +08:00
parent 9b93d4c098
commit 6d73b16716
1 changed files with 1 additions and 1 deletions

2
server/db-init.sh vendored
View File

@ -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