# HG changeset patch # User Pascal Bellard # Date 1245912980 -7200 # Node ID 50e078001b44ed16224d92f6e6e4ac98dbfea24f # Parent 6c6e753c7f972f98daee2a34e8cc02d3feefa2ed tazpkg-web: add tazpkg:// link diff -r 6c6e753c7f97 -r 50e078001b44 tazpkg-web/stuff/style/pics/tazpkg.png Binary file tazpkg-web/stuff/style/pics/tazpkg.png has changed diff -r 6c6e753c7f97 -r 50e078001b44 tazpkg-web/stuff/tazpkg-web --- a/tazpkg-web/stuff/tazpkg-web Wed Jun 24 19:01:54 2009 +0000 +++ b/tazpkg-web/stuff/tazpkg-web Thu Jun 25 08:56:20 2009 +0200 @@ -118,17 +118,19 @@ DEPENDS_LINKS="" EXTRAVERSION="" . $pkg/receipt - [ -z "$EXTRAVERSION" ] && EXTRAVERSION="_$KERNEL" packages=$(($packages+1)) cat >> $PAGES_DIR/$CATEGORY.html << _EOT_ -

$PACKAGE

+

+install +$PACKAGE

 Version    : $VERSION
 Short desc : $SHORT_DESC
 Web site   : $WEB_SITE
 _EOT_
+		[ -z "$EXTRAVERSION" ] && EXTRAVERSION="_$KERNEL"
 		# Extraversion string or not
 		if [ -f "$PACKAGES_REPOSITORY/$PACKAGE-${VERSION}$EXTRAVERSION.tazpkg" ]; then
 			cat >> $PAGES_DIR/$CATEGORY.html << _EOT_
@@ -142,21 +144,21 @@
 Download   : $PACKAGE-$VERSION.tazpkg
 _EOT_
 			echo '
' >> $PAGES_DIR/$CATEGORY.html - # Dependencies with link to the package information using - # category.html#anchor - if [ -n "$DEPENDS" ]; then - for dep in $DEPENDS - do - receipt=$WOK/$dep/receipt - if [ -f "$receipt" ]; then - cat=`grep CATEGORY $receipt | sed s/CATEGORY=\"// | sed s/\"//` - DEPENDS_LINKS=${DEPENDS_LINKS}"$dep " - fi - done - cat >> $PAGES_DIR/$CATEGORY.html << _EOT_ + fi + # Dependencies with link to the package information using + # category.html#anchor + if [ -n "$DEPENDS" ]; then + for dep in $DEPENDS + do + receipt=$WOK/$dep/receipt + if [ -f "$receipt" ]; then + cat=`grep CATEGORY $receipt | sed s/CATEGORY=\"// | sed s/\"//` + DEPENDS_LINKS=${DEPENDS_LINKS}"$dep " + fi + done + cat >> $PAGES_DIR/$CATEGORY.html << _EOT_

Depends : $DEPENDS_LINKS

_EOT_ - fi fi done }