wok-6.x rev 3516

tazbb: Fix last removed packages
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jun 20 19:10:53 2009 +0200 (2009-06-20)
parents c000bd8294a6
children b745c9a1ec09
files tazbb/stuff/tazbb
line diff
     1.1 --- a/tazbb/stuff/tazbb	Sat Jun 20 12:58:47 2009 +0200
     1.2 +++ b/tazbb/stuff/tazbb	Sat Jun 20 19:10:53 2009 +0200
     1.3 @@ -113,7 +113,6 @@
     1.4  	echo "Blocked"
     1.5  	echo "================================================================================"
     1.6  	cat $DB_DIR/blocked && echo ""
     1.7 -	echo "Corrupted"
     1.8  	echo ""
     1.9  }
    1.10  
    1.11 @@ -376,24 +375,24 @@
    1.12  				[ "$2" = "--verbose" ] && echo "Testing: $PACKAGE"
    1.13  				cpio -i fs.cpio.gz 2>/dev/null < $pkg
    1.14  				if [ ! -f fs.cpio.gz ]; then
    1.15 -					echo "No fs : `basename $pkg`"
    1.16 +					echo "Missing filesystem    `basename $pkg`"
    1.17  					if [ -f $LOG_DIR/$PACKAGE.log ];then
    1.18 -						echo "No fs : `basename $pkg` <a href=\"log.php?package=$PACKAGE\">Log</a>" \
    1.19 +						echo "Missing filesystem    `basename $pkg` <a href=\"log.php?package=$PACKAGE\">Log</a>" \
    1.20  							>> $DB_DIR/corrupted
    1.21  					else
    1.22 -						echo "No fs : `basename $pkg`" \
    1.23 +						echo "Missing filesystem    `basename $pkg`" \
    1.24  							>> $DB_DIR/corrupted
    1.25  					fi
    1.26  				else
    1.27  					zcat fs.cpio.gz | cpio -id 2>/dev/null
    1.28  					files=`find fs -type f`
    1.29  					if [ -z "$files" ]; then
    1.30 -						echo "Empty : `basename $pkg`"
    1.31 +						echo "Empty filesystem      `basename $pkg`"
    1.32  						if [ -f $LOG_DIR/$PACKAGE.log ]; then
    1.33 -							echo "Empty : `basename $pkg` <a href=\"log.php?package=$PACKAGE\">Log</a>" \
    1.34 +							echo "Empty filesystem      `basename $pkg` <a href=\"log.php?package=$PACKAGE\">Log</a>" \
    1.35  								>> $DB_DIR/corrupted
    1.36  						else
    1.37 -							echo "No fs : `basename $pkg`" \
    1.38 +							echo "Empty filesystem      `basename $pkg`" \
    1.39  							>> $DB_DIR/corrupted
    1.40  						fi
    1.41  					fi