diff --git a/src/freedombone-app-pleroma b/src/freedombone-app-pleroma index 9c199f41..2ad78b96 100755 --- a/src/freedombone-app-pleroma +++ b/src/freedombone-app-pleroma @@ -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'