Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=fa2e495b7d81f4563e915964b65ecbaf47c9aaf7

commit fa2e495b7d81f4563e915964b65ecbaf47c9aaf7
Author: James Buren <[email protected]>
Date:   Sat Mar 31 12:29:47 2012 -0500

add finishing touches to NEWS

diff --git a/NEWS b/NEWS
index f260069..ef0f6da 100644
--- a/NEWS
+++ b/NEWS
@@ -45,6 +45,7 @@ stable=(

# $1 is release
# $2 is news
+# $3 is author
output()
{
local _previous
@@ -85,8 +86,9 @@ output()
printf "%4c<id>$2</id>\n" ' '
printf "%4c<title>Frugalware $_current ($codename) released</title>\n" ' '
printf "%4c<date>$(date -R)</date>\n" ' '
-       printf "%4c<author></author>\n" ' '
+       printf "%4c<author>$3</author>\n" ' '
printf "%4c<hidden>0</hidden>\n" ' '
+       printf "%4c<content><![CDATA[\n" ' '
printf "%6cThe Frugalware Developer Team is pleased to <a 
href="/news/$2">announce</a> the immediate availability of Frugalware 
$_current, $_addendum</p>\n" ' '
printf "%4c<p>Here are some of the major improvements, fixes and updates since 
$_previous:<br/>\n" ' '
printf "%6c<ul>\n" ' '
@@ -114,12 +116,14 @@ output()
printf "%6cPlease refer to the Frugalware <a 
href="http://ftp.frugalware.org/pub/frugalware/frugalware-testing/ChangeLog.txt";>Testing
 ChangeLog</a> for more information.<br/>\n" ' '
printf "%6cDownload for i686: See our <a 
href="http://frugalware.org/download/frugalware-testing-iso";>mirror list</a>. 
Don't forget to check the <a 
href="http://frugalware.org/download/frugalware-testing-iso/SHA1SUMS";>integrity</a>
 of the install images before burning!<br/>\n" ' '
printf "%6c<b>NOTE</b>: Click <a 
href="/docs/install#_choosing_installation_flavor">here</a> to read more about 
what media you need for the installation.<br/>\n" ' '
+       printf "%8c]]>\n" ' '
+       printf "%4c</content>\n" ' '
printf "%2c</post>\n" ' '
}

-if [ -z "$2" ]; then
-       echo "Usage: $0 <release> <news>"
+if [ -z "$3" ]; then
+       echo "Usage: $0 <release> <news> <author>"
exit 1
fi

-output "$1" "$2"
+output "$1" "$2" "$3"
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to