Skip to content
Snippets Groups Projects
Commit c1ed8a47 authored by Bob Mottram's avatar Bob Mottram
Browse files

Check that ghost cli gets installed

parent ce85662f
No related branches found
No related tags found
No related merge requests found
......@@ -319,6 +319,8 @@ function remove_ghost {
rm /etc/systemd/system/ghost.service
systemctl daemon-reload
npm uninstall -g ghost-cli
function_check remove_nodejs
remove_nodejs ghost
......@@ -371,6 +373,10 @@ function install_ghost {
# now install ghost itself
npm install -g ghost-cli@1.4.1
if [ ! -f /usr/local/bin/ghost ]; then
echo $'ghost was not installed'
exit 738539
fi
GHOST_ONION_HOSTNAME=$(add_onion_service ghost 80 ${GHOST_ONION_PORT})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment