cookutils rev 148

cook: touch missing packages.txt and files.list (will work on that)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 12 10:49:42 2011 +0200 (2011-05-12)
parents be224ed6fd7a
children ccc898c42997
files cook
line diff
     1.1 --- a/cook	Wed May 11 22:52:10 2011 +0200
     1.2 +++ b/cook	Thu May 12 10:49:42 2011 +0200
     1.3 @@ -722,7 +722,7 @@
     1.4  		gettext -e "\nCreating lists for:"; echo " $PKGS"
     1.5  		separator
     1.6  		cd $PKGS
     1.7 -		rm -f packages.* files.list*
     1.8 +		rm -f packages.* files.*
     1.9  		gettext -e "Creating: packages.list\n"
    1.10  		ls -1 *.tazpkg | sed s'/.tazpkg//' > $PKGS/packages.list
    1.11  		gettext -e "Creating: packages.md5\n"
    1.12 @@ -752,8 +752,14 @@
    1.13  				done
    1.14  			fi
    1.15  		done
    1.16 +
    1.17 +		# packages.txt (redudency list, all info are in pkgs desc).
    1.18 +		touch packages.txt
    1.19 +		
    1.20  		# files.list.lzma
    1.21 -		#lzma e files.list files.list.lzma
    1.22 +		touch files.list
    1.23 +		lzma e files.list files.list.lzma
    1.24 +		
    1.25  		separator
    1.26  		nb=$(ls $PKGS/*.tazpkg | wc -l)
    1.27  		echo -e "Packages: $nb\n"