mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-23 02:04:46 +02:00
update.sh: fixed typos
This commit is contained in:
parent
d10d64dd92
commit
5ad4ab5b60
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user