Pleroma upgrades

This commit is contained in:
Bob Mottram 2017-11-06 20:03:42 +00:00
parent c1ef4567bf
commit ef7c88d310
1 changed files with 9 additions and 2 deletions

View File

@ -399,9 +399,16 @@ function configure_interactive_pleroma {
}
function upgrade_pleroma {
echo -n ''
}
CURR_PLEROMA_COMMIT=$(get_completion_param "pleroma commit")
if [[ "$CURR_PLEROMA_COMMIT" == "$PLEROMA_COMMIT" ]]; then
return
fi
function_check set_repo_commit
set_repo_commit $PLEROMA_DIR "pleroma commit" "$PLEROMA_COMMIT" $PLEROMA_REPO
chown -R pleroma:pleroma $PLEROMA_DIR
pleroma_recompile
}
function backup_local_pleroma {
PLEROMA_DOMAIN_NAME='pleroma'