Fix logic error

This commit is contained in:
Jordan Webb 2021-02-01 23:58:30 -06:00
parent 1ff50fef0b
commit 1dd6cbd895
No known key found for this signature in database
GPG Key ID: C341950C47B6CE14

View File

@ -11,10 +11,10 @@ if [ ! -e "$PLEROMA_CONFIG_PATH" ] ; then
generate-pleroma-config.sh
fi
if [ "${USE_RUM:-n}" = "y" ] ; then
pleroma_ctl migrate
if [ "${USE_RUM:-n}" = "y" ] ; then
pleroma_ctl migrate --migrations-path priv/repo/optional_migrations/rum_indexing/
fi
pleroma_ctl migrate --migrations-path priv/repo/optional_migrations/rum_indexing/
exec pleroma start