Missing fi

This commit is contained in:
Bob Mottram 2016-07-12 11:27:41 +01:00
parent fb2a839bc0
commit 38858a5b1a
No known key found for this signature in database
GPG Key ID: BA68F26108DC9F87
1 changed files with 1 additions and 0 deletions

View File

@ -163,6 +163,7 @@ function restore_remote_blog {
if [ -d /var/www/${FULLBLOG_DOMAIN_NAME}/htdocs/content/$USERNAME/blog/uncategorized/post ]; then
mv /var/www/${FULLBLOG_DOMAIN_NAME}/htdocs/content/$USERNAME/blog/*.md /var/www/${FULLBLOG_DOMAIN_NAME}/htdocs/content/$USERNAME/blog/uncategorized/post
fi
fi
done
if [ -d /etc/letsencrypt/live/${FULLBLOG_DOMAIN_NAME} ]; then
ln -s /etc/letsencrypt/live/${FULLBLOG_DOMAIN_NAME}/privkey.pem /etc/ssl/private/${FULLBLOG_DOMAIN_NAME}.key