cookutils diff web/cooker.cgi @ rev 285
cook: add aufs_chroot jail
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 13 15:51:04 2012 +0100 (2012-02-13) |
parents | d08b14d49e15 |
children | 47462be366b7 |
line diff
1.1 --- a/web/cooker.cgi Mon Nov 07 10:09:21 2011 +0100 1.2 +++ b/web/cooker.cgi Mon Feb 13 15:51:04 2012 +0100 1.3 @@ -108,6 +108,10 @@ 1.4 echo '<div id="info">' 1.5 if [ -f "$wok/$pkg/receipt" ]; then 1.6 echo "<a href='cooker.cgi?receipt=$pkg'>receipt</a>" 1.7 + unset WEB_SITE 1.8 + . $wok/$pkg/receipt 1.9 + [ -n "$WEB_SITE" ] && busybox wget -s $WEB_SITE && 1.10 + echo "<a href='$WEB_SITE'>home</a>" 1.11 else 1.12 echo "No package named: $pkg" 1.13 fi