Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=20550bb7a5b0ec43cfad5bc2778091db701b2a33
commit 20550bb7a5b0ec43cfad5bc2778091db701b2a33 Author: James Buren <[email protected]> Date: Thu Mar 8 19:58:01 2012 -0600 add more to NEWS diff --git a/NEWS b/NEWS index 2a7ceb8..cc8be37 100644 --- a/NEWS +++ b/NEWS @@ -46,35 +46,62 @@ output() local _previous local _current local _addendum + local _news + local _entry + local _in_group=0 case $1 in pre1) _previous="$(echo $version-0.1 | bc)" _current="${version}pre1" _addendum="the first technical preview of the upcoming $version stable release." + _news=("${pre1[@]}") ;; pre2) _previous="${version}pre1" _current="${version}pre2" _addendum="the second technical preview of the upcoming $version stable release." + _news=("${pre2[@]}") ;; rc1) _previous="${version}pre2" _current="${version}rc1" _addendum="the first candidate of the upcoming $version stable release." + _news=("${rc1[@]}") ;; rc2) _previous="${version}rc1" _current="${version}rc2" _addendum="the second candidate of the upcoming $version stable release." + _news=("${rc2[@]}") ;; stable) - _previous="$(echo $version-0.1 | bc)" - _current="$version" ;; esac printf "The Frugalware Developer Team is pleased to <a href="/news/$2">announce</a> the immediate availability of Frugalware $_current, $_addendum</p>\n" printf "<p>Here are some of the major improvements, fixes and updates since $_previous:<br/>\n" + printf "<ul>\n" + for _i in `seq 0 ${#_news[@]}`; do + _entry="${_news[$_i]}" + if echo $_entry | grep -q ':$'; then + if [ "$_in_group" -eq 0 ]; then + _in_group=1 + printf "<li>$_entry\n" + printf "<ul>\n" + else + printf "</ul>\n" + printf "</li>\n" + printf "<li>$_entry\n" + printf "<ul>\n" + fi + elif [ -z "$_entry" ]; then + printf "</ul>\n" + printf "</li>\n" + else + printf "<li>$_entry</li>\n" + fi + done + printf "</ul>\n" printf "Please 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 "Download 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 "<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" _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
