1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-21 01:49:22 +02:00

update.sh: fixed typos

This commit is contained in:
DerLinkman 2024-11-15 16:39:06 +01:00
parent d10d64dd92
commit 5ad4ab5b60
No known key found for this signature in database
GPG Key ID: AA4A82514748F5A9

View File

@ -288,9 +288,9 @@ fix_broken_dnslist_conf() {
# Check if the file contains the autogenerated comment # Check if the file contains the autogenerated comment
if grep -q "# Autogenerated by mailcow" "$file"; then if grep -q "# Autogenerated by mailcow" "$file"; then
# Ask the user if custom changes were made # Ask the user if custom changes were made
echo -e "\e[91mWARNING!!! \e[31mAn old version of dns_blocklists.cnf has been detected which may cause a broken postfix upon startup (see: https://github.com/mailcow/mailcow-dockerized/issues/6143)...\e[0m" echo -e "\e[91mWARNING!!! \e[31mAn old version of dns_blocklists.cf has been detected which may cause a broken postfix upon startup (see: https://github.com/mailcow/mailcow-dockerized/issues/6143)...\e[0m"
echo -e "\e[31mIf you have any custom settings in there you might copy it away and adapt the changes after the file is regenerated...\e[0m" echo -e "\e[31mIf you have any custom settings in there you might copy it away and adapt the changes after the file is regenerated...\e[0m"
read -p "Do you want to delete the file now and let mailcow regenerate it properly? " response read -p "Do you want to delete the file now and let mailcow regenerate it properly? [y/n]" response
if [[ "${response}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then if [[ "${response}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
rm "$file" rm "$file"
echo -e "\e[32mdns_blocklists.cf has been deleted and will be properly regenerated" echo -e "\e[32mdns_blocklists.cf has been deleted and will be properly regenerated"