This commit is contained in:
Bob Mottram 2017-05-12 12:14:09 +01:00
parent ec888aae69
commit 05eb4f1054
1 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ function upgrade_ghost {
if [ ! -f ghost-${GHOST_VERSION}.zip ]; then
wget ${GHOST_DOWNLOAD_URL}
fi
if [ ! -f ghost-${GHOST_VERSION}.zip ]; then
if [ ! -f Ghost-${GHOST_VERSION}.zip ]; then
echo $'Unable to download ghost'
exit 367245
fi
@ -394,7 +394,7 @@ function install_ghost {
fi
cd /var/www/$GHOST_DOMAIN_NAME/htdocs
wget ${GHOST_DOWNLOAD_URL}
if [ ! -f ghost-${GHOST_VERSION}.zip ]; then
if [ ! -f Ghost-${GHOST_VERSION}.zip ]; then
echo $'Unable to download ghost'
rm -rf /var/www/$GHOST_DOMAIN_NAME
exit 63892