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

Check for directory

parent fea7b3a2
No related branches found
No related tags found
No related merge requests found
......@@ -151,6 +151,10 @@ function reconfigure_ghost {
}
function upgrade_ghost {
if [ ! -d /var/www/$GHOST_DOMAIN_NAME/htdocs ]; then
return
fi
if ! grep -q "ghost version:" $COMPLETION_FILE; then
CURR_GHOST_VERSION=${GHOST_VERSION}b
else
......
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