From 74cb0c04935400c08cb627cc3cfa1dc34f5dd847 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 28 Jul 2017 11:42:21 +0100 Subject: [PATCH] Some extra packages for ghost --- src/freedombone-app-ghost | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/freedombone-app-ghost b/src/freedombone-app-ghost index d491755a..89e488b0 100755 --- a/src/freedombone-app-ghost +++ b/src/freedombone-app-ghost @@ -260,8 +260,8 @@ function restore_local_ghost { MARIADB_PASSWORD= # install any missing packages + cd /var/www/${GHOST_DOMAIN_NAME}/htdocs if [ ! -d /var/www/${GHOST_DOMAIN_NAME}/htdocs/node_modules/intl ]; then - cd /var/www/${GHOST_DOMAIN_NAME}/htdocs npm install passport-http-bearer@1.0.1 npm install amperize@0.3.4 npm install bcryptjs@2.4.3 @@ -275,6 +275,10 @@ function restore_local_ghost { npm install superagent@3.5.2 npm install mysql@2.1.1 fi + if [ ! -d /var/www/${GHOST_DOMAIN_NAME}/htdocs/node_modules/debug ]; then + npm install debug@2.6.8 + npm install nconf@0.8.4 + fi systemctl start ghost restart_site @@ -554,6 +558,8 @@ function install_ghost { npm install superagent@3.5.2 npm install mysql@2.1.1 npm install mariasql@0.2.6 + npm install debug@2.6.8 + npm install nconf@0.8.4 npm install --production