mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-10-06 00:03:39 -04:00
update.sh: fix mailcow fts update versioning
This commit is contained in:
parent
746915cbdd
commit
4708b1398b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user