Move blog upgrade into app script

This commit is contained in:
Bob Mottram 2016-07-08 14:30:37 +01:00
parent 835c14d928
commit 46d0f0a541
2 changed files with 3 additions and 3 deletions

View File

@ -44,6 +44,9 @@ function upgrade_blog {
fi fi
function_check set_repo_commit function_check set_repo_commit
set_repo_commit /var/www/$FULLBLOG_DOMAIN_NAME/htdocs "Blog commit" "$FULLBLOG_COMMIT" $FULLBLOG_REPO set_repo_commit /var/www/$FULLBLOG_DOMAIN_NAME/htdocs "Blog commit" "$FULLBLOG_COMMIT" $FULLBLOG_REPO
# update blog avatar
${PROJECT_NAME}-blog
} }
function backup_local_blog { function backup_local_blog {

View File

@ -114,9 +114,6 @@ if [ -f /etc/init.d/sipwitch ]; then
rm -f /etc/init.d/sipwitch rm -f /etc/init.d/sipwitch
fi fi
# update blog avatar
${PROJECT_NAME}-blog
if [ -f /usr/bin/reset-tripwire ]; then if [ -f /usr/bin/reset-tripwire ]; then
echo ' echo '