Check for directory
This commit is contained in:
parent
fea7b3a2c4
commit
26fb6bd604
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue