From 9bd468c29a43848f54ecf727db95b54b3496675f Mon Sep 17 00:00:00 2001 From: Lisa Marie Maginnis Date: Sun, 28 Feb 2016 02:25:42 -0500 Subject: [PATCH] fixed typo --- files/etc/init.d/install-mediagoblin/DEFAULT | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/files/etc/init.d/install-mediagoblin/DEFAULT b/files/etc/init.d/install-mediagoblin/DEFAULT index dcf7e8e..966d4f4 100755 --- a/files/etc/init.d/install-mediagoblin/DEFAULT +++ b/files/etc/init.d/install-mediagoblin/DEFAULT @@ -4,11 +4,11 @@ cd GMG_PATH_TOKEN if [ ! -d mediagoblin ]; then # Create the GMG user - sudo -u poostgres psql -c "UPDATE pg_database SET datistemplate = FALSE WHERE datname = 'template1'" - sudo -u poostgres psql -c "DROP DATABASE template1" - sudo -u poostgres psql -c "CREATE DATABASE template1 WITH TEMPLATE = template0 ENCODING='UNICODE' LC_COLLATE='en_US.UTF8' LC_CTYPE='en_US.UTF8'" - sudo -u poostgres psql -c "UPDATE pg_database SET datistemplate = TRUE WHERE datname = 'template1'" - sudo -u poostgres psql -c "UPDATE pg_database SET datallowconn = FALSE WHERE datname = 'template1'" + sudo -u postgres psql -c "UPDATE pg_database SET datistemplate = FALSE WHERE datname = 'template1'" + sudo -u postgres psql -c "DROP DATABASE template1" + sudo -u postgres psql -c "CREATE DATABASE template1 WITH TEMPLATE = template0 ENCODING='UNICODE' LC_COLLATE='en_US.UTF8' LC_CTYPE='en_US.UTF8'" + sudo -u postgres psql -c "UPDATE pg_database SET datistemplate = TRUE WHERE datname = 'template1'" + sudo -u postgres psql -c "UPDATE pg_database SET datallowconn = FALSE WHERE datname = 'template1'" sudo -u postgres createuser -A -D mediagoblin # Crea te GMG database -- 2.25.1