From ef7c88d310053075b5a1881fa72da69b30cbef46 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 6 Nov 2017 20:03:42 +0000 Subject: [PATCH] Pleroma upgrades --- src/freedombone-app-pleroma | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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'