slitaz-dev-tools rev 19

Fixed tazpkg-web and search.cgi for pkgs.slitaz.org to look at clean-wok instead of wok.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Feb 25 11:49:37 2011 +0000 (2011-02-25)
parents 9a93290cd55c
children 81157fb10757
files tazpkg-web/search.cgi tazpkg-web/tazpkg-web
line diff
     1.1 --- a/tazpkg-web/search.cgi	Fri Feb 25 11:48:13 2011 +0000
     1.2 +++ b/tazpkg-web/search.cgi	Fri Feb 25 11:49:37 2011 +0000
     1.3 @@ -178,7 +178,7 @@
     1.4  
     1.5  esac
     1.6  
     1.7 -WOK=/home/slitaz/$SLITAZ_VERSION/wok
     1.8 +WOK=/home/slitaz/$SLITAZ_VERSION/clean-wok
     1.9  PACKAGES_REPOSITORY=/home/slitaz/$SLITAZ_VERSION/packages
    1.10  
    1.11  echo Content-type: text/html
     2.1 --- a/tazpkg-web/tazpkg-web	Fri Feb 25 11:48:13 2011 +0000
     2.2 +++ b/tazpkg-web/tazpkg-web	Fri Feb 25 11:49:37 2011 +0000
     2.3 @@ -261,8 +261,8 @@
     2.4  		done && echo "" ;;
     2.5  	stable)
     2.6  		PACKAGES_REPOSITORY=$STABLE/packages
     2.7 -		if [ -d $STABLE/chroot/home/slitaz/hg/wok ]; then
     2.8 -			WOK=$STABLE/chroot/home/slitaz/hg/wok
     2.9 +		if [ -d $STABLE/clean-wok ]; then
    2.10 +			WOK=$STABLE/clean-wok
    2.11  		else
    2.12  			WOK=$STABLE/wok
    2.13  		fi
    2.14 @@ -270,8 +270,8 @@
    2.15  		gen_all_pages ;;
    2.16  	cooking)
    2.17  		PACKAGES_REPOSITORY=$COOKING/packages
    2.18 -		if [ -d $COOKING/chroot/home/slitaz/hg/wok ]; then
    2.19 -			WOK=$COOKING/chroot/home/slitaz/hg/wok
    2.20 +		if [ -d $COOKING/clean-wok ]; then
    2.21 +			WOK=$COOKING/clean-wok
    2.22  		else
    2.23  			WOK=$COOKING/wok
    2.24  		fi