diff options
author | Damien Lallement <dams@mageia.org> | 2011-02-17 17:01:06 +0000 |
---|---|---|
committer | Damien Lallement <dams@mageia.org> | 2011-02-17 17:01:06 +0000 |
commit | 25364252170c41c3143715c8f8d1736e6d9f4990 (patch) | |
tree | 3599465f5d6161c98f38778c554e47eddba1b134 /modules/blog | |
parent | a51c0e2b3d3033076774b2e4ed8d8019c8341a71 (diff) | |
download | puppet-25364252170c41c3143715c8f8d1736e6d9f4990.tar puppet-25364252170c41c3143715c8f8d1736e6d9f4990.tar.gz puppet-25364252170c41c3143715c8f8d1736e6d9f4990.tar.bz2 puppet-25364252170c41c3143715c8f8d1736e6d9f4990.tar.xz puppet-25364252170c41c3143715c8f8d1736e6d9f4990.zip |
update mail message
Diffstat (limited to 'modules/blog')
-rwxr-xr-x | modules/blog/templates/check_new-blog-post.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blog/templates/check_new-blog-post.sh b/modules/blog/templates/check_new-blog-post.sh index 8a40ea24..62bb8196 100755 --- a/modules/blog/templates/check_new-blog-post.sh +++ b/modules/blog/templates/check_new-blog-post.sh @@ -38,14 +38,14 @@ if [ "$tmp_old" = "$tmp_new" ] cat $PATH_TO_FILE"/last_check" > $PATH_TO_FILE"/last_need_translation" echo $tmp_new >> $PATH_TO_FILE"/last_need_translation" echo "YES - Modification" >> $PATH_TO_FILE"/last_check" - echo -e "Info: the last blog post had been modified and need to be checked.\nTitle: \"$tmp_new\"" | /bin/mail -s "Modification of the last entry on English Blog" mageia-blogteam@<%= domain %> + echo -e "Info: the last blog post had been modified and need to be checked.\nTitle: \"$tmp_new\"\n-- \nMail sent by the script '$0' on `hostname`" | /bin/mail -s "Modification of the last entry on English Blog" mageia-blogteam@<%= domain %> echo $DATE else # New post to translate cat $PATH_TO_FILE"/last_check" > $PATH_TO_FILE"/last_need_translation" echo $tmp_new >> $PATH_TO_FILE"/last_need_translation" echo "YES - New entry" >> $PATH_TO_FILE"/last_check" - echo -e "Info: a new blog post is waiting for translation.\nTitle: \"$tmp_new\"" | /bin/mail -s "New entry on English Blog" mageia-blogteam@<%= domain %> + echo -e "Info: a new blog post is waiting for translation.\nTitle: \"$tmp_new\"\n-- \nMail sent by the script '$0' on `hostname`" | /bin/mail -s "New entry on English Blog" mageia-blogteam@<%= domain %> echo $DATE fi fi |