From 415069742c35040bca23297f6fd6fa5334bcf1a9 Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Sat, 12 Sep 2020 12:48:39 -0400 Subject: [PATCH] fix typo --- bin/first_time_ubuntu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/first_time_ubuntu.sh b/bin/first_time_ubuntu.sh index f62d2644..f01ba4b1 100755 --- a/bin/first_time_ubuntu.sh +++ b/bin/first_time_ubuntu.sh @@ -26,7 +26,7 @@ sudo su - postgres bash -c 'createuser -U postgres --createdb --createrole --sup PG_HBA=$(find /etc/postgresql -mindepth 1 -maxdepth 1 -type d | sort | tail -1)/main/pg_hba.conf sudo cat ${PG_HBA} | sed -e 's/ peer/ trust/g' | sed -e 's/ md5/ trust/g' > /tmp/pg_hba.conf || die "Error filtering ${PG_HBA}" sudo bash -c "cat /tmp/pg_hba.conf > ${PG_HBA}" || die "Error rewriting ${PG_HBA}" -sudo service postgresql restart || die "Error restaring pgsql" +sudo service postgresql restart || die "Error restarting pgsql" # Create DB user 'bubble', with the ability to create databases createuser --createdb bubble || die "Error creating bubble DB user"