diff --git a/rel/files/bin/pleroma_ctl b/rel/files/bin/pleroma_ctl index 42fa06a53..ee55c7115 100755 --- a/rel/files/bin/pleroma_ctl +++ b/rel/files/bin/pleroma_ctl @@ -72,6 +72,19 @@ update() { esac done + echo "Warning: This command is NOT supported by BNAkkoma" + echo "Any changes not made in the upstream will be lost!" + echo "Do you want to continue anyway? (y/n)" + read -r proceed_update + case $proceed_update in + [y]* ) + echo "Continue." + ;; + * ) + echo "Exiting..." + exit 1 + ;; + esac RELEASE_ROOT=$(dirname "$SCRIPTPATH") uri="https://akkoma-updates.s3-website.fr-par.scw.cloud" project_id="2"