From 782a76ecdaf656d01400812a659485b5f6052f5d Mon Sep 17 00:00:00 2001 From: Damien Lallement Date: Fri, 11 Feb 2011 15:39:14 +0000 Subject: fix 'domain' (thanks boklm) --- modules/blog/templates/check_new-blog-post.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/blog/templates/check_new-blog-post.sh b/modules/blog/templates/check_new-blog-post.sh index 14cf0f03..8a40ea24 100755 --- a/modules/blog/templates/check_new-blog-post.sh +++ b/modules/blog/templates/check_new-blog-post.sh @@ -1,7 +1,7 @@ #!/bin/sh # Initialization -REPLYTO=mageia-blogteam@$domain +REPLYTO=mageia-blogteam@<%= domain %> PATH_TO_FILE=${PATH_TO_FILE:-/var/lib/blog} /usr/bin/wget -qO $PATH_TO_FILE"/last_tmp" http://blog.mageia.org/?feed=rss2 if [ $? -ne 0 ] @@ -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\"" | /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\"" | /bin/mail -s "New entry on English Blog" mageia-blogteam@<%= domain %> echo $DATE fi fi -- cgit v1.2.1