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

Don't remove ghost files on failure

parent add4b346
No related branches found
No related tags found
No related merge requests found
......@@ -169,7 +169,6 @@ function upgrade_ghost {
wget ${GHOST_DOWNLOAD_URL}
if [ ! -f ghost-${GHOST_VERSION}.zip ]; then
echo $'Unable to download ghost'
rm -rf /var/www/$GHOST_DOMAIN_NAME
exit 367245
fi
......@@ -183,7 +182,6 @@ function upgrade_ghost {
unzip ghost-${GHOST_VERSION}.zip
if [ ! -f $GHOST_PATH/index.js ]; then
echo $'ghost failed to unzip'
rm -rf /var/www/$GHOST_DOMAIN_NAME
exit 63835
fi
......
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