# HG changeset patch
# User Pascal Bellard
-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.