From fd55f93f0a114a93ed33a523f69bf97269941feb Mon Sep 17 00:00:00 2001 From: pfcoder Date: Fri, 1 May 2020 21:58:52 +0800 Subject: [PATCH] fix shell quotation error of server db-init.sh --- server/db-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/db-init.sh b/server/db-init.sh index c9150e9de..87f39eada 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