tazpkg rev 124

tazpkg: avoid error msg during install (2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 15 11:15:59 2008 +0000 (2008-07-15)
parents d12e1d8a51b2
children 3bebeeeb5313
files tazpkg
line diff
     1.1 --- a/tazpkg	Tue Jul 15 09:52:12 2008 +0000
     1.2 +++ b/tazpkg	Tue Jul 15 11:15:59 2008 +0000
     1.3 @@ -419,6 +419,7 @@
     1.4  					echo "Checking if $pkg exist in local list... "
     1.5  					mkdir $TMP_DIR
     1.6  					for i in $pkg-*.tazpkg; do
     1.7 +						[ -f $i ] || continue
     1.8  						( cd $TMP_DIR ; cpio -i receipt > /dev/null) < $i
     1.9  						if grep -q ^$(package_fullname_in_dir $TMP_DIR).tazpkg$ $list
    1.10  						then