From f7a1fbbdd5a33a96fb302d6fdea132881bef1779 Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Sun, 25 Jun 2017 18:12:24 +0100
Subject: [PATCH] Ghost version

---
 src/freedombone-app-ghost | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/freedombone-app-ghost b/src/freedombone-app-ghost
index 33f0aa5c6..09751778b 100755
--- a/src/freedombone-app-ghost
+++ b/src/freedombone-app-ghost
@@ -38,7 +38,7 @@ GHOST_DOMAIN_NAME=
 GHOST_CODE=
 GHOST_ONION_PORT=8104
 GHOST_PORT=2368
-GHOST_VERSION='0.11.8'
+GHOST_VERSION='0.11.10'
 GHOST_HASH='244faad0b16eb1b90c8095f1e536db65299a3a2d85a20af76342be3707522b38'
 GHOST_DOWNLOAD_URL="https://github.com/TryGhost/Ghost/releases/download/${GHOST_VERSION}/Ghost-${GHOST_VERSION}.zip"
 
@@ -348,12 +348,12 @@ function ghost_create_config {
     echo '            }' >> $ghost_config
     echo '        },' >> $ghost_config
     echo '        database: {' >> $ghost_config
-    echo "            client: 'mysql'," >> $ghost_config
+    echo "            client: 'mariadb'," >> $ghost_config
     echo '            connection: {' >> $ghost_config
     echo "                host     : '127.0.0.1'," >> $ghost_config
     echo "                user     : 'root'," >> $ghost_config
     echo "                password : '${MARIADB_PASSWORD}'," >> $ghost_config
-    echo "                database : 'ghost'," >> $ghost_config
+    echo "                db       : 'ghost'," >> $ghost_config
     echo "                charset  : 'utf8'" >> $ghost_config
     echo '            }' >> $ghost_config
     echo '        },' >> $ghost_config
@@ -488,6 +488,7 @@ function install_ghost {
     npm install showdown-ghost@0.3.6
     npm install superagent@3.5.2
     npm install mysql@2.1.1
+    npm install mariasql@0.2.6
 
     npm install --production
 
-- 
GitLab