|
@@ -38,7 +38,7 @@ GHOST_DOMAIN_NAME=
|
38
|
38
|
GHOST_CODE=
|
39
|
39
|
GHOST_ONION_PORT=8104
|
40
|
40
|
GHOST_PORT=2368
|
41
|
|
-GHOST_VERSION='0.11.8'
|
|
41
|
+GHOST_VERSION='0.11.10'
|
42
|
42
|
GHOST_HASH='244faad0b16eb1b90c8095f1e536db65299a3a2d85a20af76342be3707522b38'
|
43
|
43
|
GHOST_DOWNLOAD_URL="https://github.com/TryGhost/Ghost/releases/download/${GHOST_VERSION}/Ghost-${GHOST_VERSION}.zip"
|
44
|
44
|
|
|
@@ -348,12 +348,12 @@ function ghost_create_config {
|
348
|
348
|
echo ' }' >> $ghost_config
|
349
|
349
|
echo ' },' >> $ghost_config
|
350
|
350
|
echo ' database: {' >> $ghost_config
|
351
|
|
- echo " client: 'mysql'," >> $ghost_config
|
|
351
|
+ echo " client: 'mariadb'," >> $ghost_config
|
352
|
352
|
echo ' connection: {' >> $ghost_config
|
353
|
353
|
echo " host : '127.0.0.1'," >> $ghost_config
|
354
|
354
|
echo " user : 'root'," >> $ghost_config
|
355
|
355
|
echo " password : '${MARIADB_PASSWORD}'," >> $ghost_config
|
356
|
|
- echo " database : 'ghost'," >> $ghost_config
|
|
356
|
+ echo " db : 'ghost'," >> $ghost_config
|
357
|
357
|
echo " charset : 'utf8'" >> $ghost_config
|
358
|
358
|
echo ' }' >> $ghost_config
|
359
|
359
|
echo ' },' >> $ghost_config
|
|
@@ -488,6 +488,7 @@ function install_ghost {
|
488
|
488
|
npm install showdown-ghost@0.3.6
|
489
|
489
|
npm install superagent@3.5.2
|
490
|
490
|
npm install mysql@2.1.1
|
|
491
|
+ npm install mariasql@0.2.6
|
491
|
492
|
|
492
|
493
|
npm install --production
|
493
|
494
|
|