From 6e954600711b15cc27ba9d2a5a30584ef986a9fb Mon Sep 17 00:00:00 2001 From: Samuel FORESTIER Date: Wed, 20 Sep 2017 17:06:32 -0400 Subject: [PATCH] Prefers using the `NEWLINE_CHAR` variable for preset messages (fixes #3) --- send-notification.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/send-notification.sh b/send-notification.sh index a7c0d58..94f6f4a 100644 --- a/send-notification.sh +++ b/send-notification.sh @@ -69,13 +69,10 @@ USER_LOGIN="1234567890" API_KEY="s0me5eCre74p1K3y" # Texte qui sera ajouté AVANT chaque message envoyé -MESSAGE_HEADER="Notification : -" +MESSAGE_HEADER="Notification :${NEWLINE_CHAR}" # Texte qui sera ajouté APRÈS chaque message envoyé -MESSAGE_FOOTER=" --- -Le serveur de la maison" +MESSAGE_FOOTER="${NEWLINE_CHAR}--${NEWLINE_CHAR}Le serveur de la maison" ##