tazpkg diff lib/tazpkgbox/package_infos @ rev 178

tazpkgbox: add blocked tab
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 24 08:27:54 2008 +0000 (2008-10-24)
parents 296de1b9c681
children 5ed034b16356
line diff
     1.1 --- a/lib/tazpkgbox/package_infos	Mon Oct 20 16:34:19 2008 +0000
     1.2 +++ b/lib/tazpkgbox/package_infos	Fri Oct 24 08:27:54 2008 +0000
     1.3 @@ -29,6 +29,9 @@
     1.4  				else
     1.5  					echo -n "$(stat -c "[configuration: %.16y]" $file)"
     1.6  				fi;;
     1.7 +			#*	if [ "$(tazpkg check-file $file $2)" = "failure" ]; then
     1.8 +			#		echo -n "Invalid md5"
     1.9 +			#	fi;;
    1.10  			esac
    1.11  		fi
    1.12  		echo ""
    1.13 @@ -73,6 +76,11 @@
    1.14  			fi
    1.15  		done
    1.16  		LIST_PKGS="$LIST_PKGS
    1.17 +	<action>echo "\$PKG" > /tmp/tazpkgbox/pkg</action>
    1.18 +	<action>/usr/lib/slitaz/tazpkgbox/package_infos</action>
    1.19 +	<action>refresh:PKG</action>
    1.20 +	<action>refresh:PKG_STATS</action>
    1.21 +	<action>refresh:CACHE_STATS</action>
    1.22       </tree>
    1.23       <hbox>
    1.24  	<button ok>