From 27c8f03067c62691834a33ca11fc7486c00427e3 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 27 Sep 2014 23:02:27 +0100 Subject: [PATCH] Mediagoblin sql setting --- install-freedombone.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install-freedombone.sh b/install-freedombone.sh index 0c9b24de..a30efabd 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -2825,6 +2825,7 @@ function install_mediagoblin { sed -i "s/notice@mediagoblin.example.org/$MY_USERNAME@$DOMAIN_NAME/g" /srv/$MEDIAGOBLIN_DOMAIN_NAME/mediagoblin/mediagoblin_local.ini sed -i 's/email_debug_mode = true/email_debug_mode = false/g' /srv/$MEDIAGOBLIN_DOMAIN_NAME/mediagoblin/mediagoblin_local.ini + sed -i 's|# sql_engine = postgresql:///mediagoblin|sql_engine = postgresql:///mediagoblin|g' /srv/$MEDIAGOBLIN_DOMAIN_NAME/mediagoblin/mediagoblin_local.ini if grep -q "media_types.audio" /srv/$MEDIAGOBLIN_DOMAIN_NAME/mediagoblin/mediagoblin_local.ini; then echo '[[mediagoblin.media_types.audio]]' >> /srv/$MEDIAGOBLIN_DOMAIN_NAME/mediagoblin/mediagoblin_local.ini