update.sh: fix mailcow fts update versioning

This commit is contained in:
DerLinkman 2025-01-20 15:41:48 +01:00
parent 746915cbdd
commit 4708b1398b
No known key found for this signature in database
GPG Key ID: AA4A82514748F5A9

View File

@ -676,7 +676,7 @@ migrate_solr_config_options() {
solr_volume=$(docker volume ls -qf name=^${COMPOSE_PROJECT_NAME}_solr-vol-1)
if [[ -n $solr_volume ]]; then
echo -e "\e[34mSolr has been replaced within mailcow since 2024-12.\e[0m"
echo -e "\e[34mSolr has been replaced within mailcow since 2025-01.\e[0m"
sleep 1
echo -e "\e[34mTherefore the volume $solr_volume is unused.\e[0m"
sleep 1
@ -697,7 +697,7 @@ migrate_solr_config_options() {
fi
# Delete old fts.conf before forced switch to flatcurve to ensure update is working properly
FTS_CONF_PATH="data/conf/dovecot/conf.d/fts.conf"
FTS_CONF_PATH="${SCRIPT_DIR}/data/conf/dovecot/conf.d/fts.conf"
if [[ -f "$FTS_CONF_PATH" ]]; then
if grep -q "Autogenerated by mailcow" "$FTS_CONF_PATH"; then
rm -rf $FTS_CONF_PATH