# HG changeset patch # User Pascal Bellard # Date 1279264793 -7200 # Node ID 0b8eeecc964e4378afff1918b4439fbf01b41353 # Parent d38617bc7bf4e2ec952f5d2297e62bbc3e39cbb6 tazpkg-web: auto copyright year diff -r d38617bc7bf4 -r 0b8eeecc964e tazpkg-web/stuff/html/footer.html --- a/tazpkg-web/stuff/html/footer.html Fri Jul 16 09:14:24 2010 +0200 +++ b/tazpkg-web/stuff/html/footer.html Fri Jul 16 09:19:53 2010 +0200 @@ -8,7 +8,7 @@ Top of the page

-Copyright © 2010 SliTaz - +Copyright © _YEAR_ SliTaz - GNU General Public License

diff -r d38617bc7bf4 -r 0b8eeecc964e tazpkg-web/stuff/tazpkg-web --- a/tazpkg-web/stuff/tazpkg-web Fri Jul 16 09:14:24 2010 +0200 +++ b/tazpkg-web/stuff/tazpkg-web Fri Jul 16 09:19:53 2010 +0200 @@ -10,6 +10,7 @@ RELEASE="$1" PAGES_DIR=$WEB_INTERFACE/$RELEASE DATE=`date +%Y-%m-%d\ \%H:%M:%S` +YEAR=`date +%Y` status() { @@ -77,6 +78,7 @@ { cat $LIB_DIR/html/footer.html >> $PAGES_DIR/$page.html sed -i s/"_DATE_"/"$DATE"/ $PAGES_DIR/$page.html + sed -i s/"_YEAR_"/"$YEAR"/ $PAGES_DIR/$page.html } # Index pages with categories and search form.