cookutils diff cooker @ rev 893
web/cooker.cgi: work with HTTP headers "Last-Modified", "If-Modified-Since", "HTTP 304 Not Modified", "HTTP 404 Not Found". Other small improvements.
SliTaz Next Cooker is working right now with this version of cooker.cgi.
SliTaz Next Cooker is working right now with this version of cooker.cgi.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Mar 20 05:12:29 2017 +0200 (2017-03-20) |
parents | 2850833e8670 |
children | 71118129435e |
line diff
1.1 --- a/cooker Wed May 25 21:08:50 2016 +0200 1.2 +++ b/cooker Mon Mar 20 05:12:29 2017 +0200 1.3 @@ -226,6 +226,7 @@ 1.4 rm -f $wok/*/arch.$ARCH && cd $wok 1.5 echo "Creating $ARCH packages DB..." 1.6 for pkg in *; do 1.7 + [ -s $wok/$pkg/receipt ] || continue 1.8 HOST_ARCH= 1.9 . $wok/$pkg/receipt 1.10 if [ -n "$HOST_ARCH" ]; then 1.11 @@ -351,6 +352,7 @@ 1.12 1.13 cd $wok 1.14 for rev in *; do 1.15 + [ -s $wok/$rev/receipt ] || continue 1.16 unset WANTED DEPENDS BUILD_DEPENDS; . $wok/$rev/receipt 1.17 if echo "$WANTED $DEPENDS $BUILD_DEPENDS" | fgrep -q $pkg; then 1.18 echo "$rev" | tee -a $cooklist 1.19 @@ -375,6 +377,7 @@ 1.20 1.21 cd $wok 1.22 for pkg in *; do 1.23 + [ -s $pkg/receipt ] || continue 1.24 unset CATEGORY; . $pkg/receipt 1.25 [ "$CATEGORY" == "$cat" ] && echo $pkg >> $cooklist 1.26 done 1.27 @@ -439,6 +442,7 @@ 1.28 1.29 cd $wok 1.30 for pkg in *; do 1.31 + [ -s $pkg/receipt ] || continue 1.32 unset EXTRAVERSION 1.33 . $pkg/receipt 1.34 [ -f "$pkg/taz/$PACKAGE-$VERSION/receipt" ] && \