diff options
Diffstat (limited to 'modules/blog/templates/check_new-blog-post.sh')
-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 50bc082d..f2089a52 100755 --- a/modules/blog/templates/check_new-blog-post.sh +++ b/modules/blog/templates/check_new-blog-post.sh @@ -32,9 +32,9 @@ if [ "$tmp_old" = "$tmp_new" ] tmp_old=$(cat $PATH_TO_FILE"/last_entry" | sed -n '2p') if [ "$tmp_old" != "$tmp_new" ] then - # Modification on lastest post + # Modification on latest post echo "YES - Modification" >> $PATH_TO_FILE"/last_check" - echo -e "The latest blog post has been modified and needs to be checked!\n\nTitle:\t$last_title\nAuthor:\t$last_creator\n-- \nMail sent by the script '$0' on `hostname`" | /bin/mail -r '<%= blog_newpost_email_from %>' -s "Modification of the lastest entry on English Blog" <%= blog_newpost_email_to %> + echo -e "The latest blog post has been modified and needs to be checked!\n\nTitle:\t$last_title\nAuthor:\t$last_creator\n-- \nMail sent by the script '$0' on `hostname`" | /bin/mail -r '<%= blog_newpost_email_from %>' -s "Modification of the latest entry on English Blog" <%= blog_newpost_email_to %> echo $DATE else echo "NO" >> $PATH_TO_FILE"/last_check" |