Move blog upgrade into app script
This commit is contained in:
parent
835c14d928
commit
46d0f0a541
|
@ -44,6 +44,9 @@ function upgrade_blog {
|
|||
fi
|
||||
function_check set_repo_commit
|
||||
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 {
|
||||
|
|
|
@ -114,9 +114,6 @@ if [ -f /etc/init.d/sipwitch ]; then
|
|||
rm -f /etc/init.d/sipwitch
|
||||
fi
|
||||
|
||||
# update blog avatar
|
||||
${PROJECT_NAME}-blog
|
||||
|
||||
if [ -f /usr/bin/reset-tripwire ]; then
|
||||
echo '
|
||||
|
||||
|
|
Loading…
Reference in New Issue