diff --git a/ALL_README.md b/ALL_README.md index 8938aae..152f2e7 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,7 +1,7 @@ # All available README files by language - [Read the README in English](README.md) -- [Lee el README en español](README_es.md) +- [Lea el README en español](README_es.md) - [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) diff --git a/conf/backup-with-borg b/conf/backup-with-borg index 0912891..466edd6 100644 --- a/conf/backup-with-borg +++ b/conf/backup-with-borg @@ -60,7 +60,7 @@ for application in $(sudo ls /etc/yunohost/apps/); do done #========================================================= -# SEND MAIL TO NOTIFY SUCCED OR FAILED OPERATIONS +# SEND MAIL TO NOTIFY ABOUT SUCCEEDED OR FAILED OPERATIONS #========================================================= partial_errors="$(cat "$log_file" | grep -E "Error|Skipped")" @@ -79,9 +79,9 @@ else fi if [[ -n "$errors" && $mailalert != "never" ]]; then - cat <(echo -e "$errors\n\n\n") "$log_file" "$err_file" | mail -s "[borg] Backup failed from $domain onto $repository" root + cat <(echo -e "$errors\n\n\n") "$log_file" "$err_file" | mail -a "Content-Type: text/plain; charset=UTF-8" -s "[borg] Backup failed from $domain onto $repository" root exit 1 elif [ "$mailalert" == "always" ]; then - cat "$log_file" | mail -s "[borg] Backup succeed from $domain onto $repository" root + cat "$log_file" | mail -a "Content-Type: text/plain; charset=UTF-8" -s "[borg] Backup succeeded from $domain onto $repository" root exit 0 fi