tazwok rev 409 4.3

Rename wok-{wanted,depends}.txt to {wanted,depends}.txt into main packages repository.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 04 18:40:31 2011 +0100 (2011-03-04)
parents f738ded35665
children 5ec3a6da88e6
files tazwok
line diff
     1.1 --- a/tazwok	Fri Mar 04 06:23:07 2011 +0100
     1.2 +++ b/tazwok	Fri Mar 04 18:40:31 2011 +0100
     1.3 @@ -1362,7 +1362,7 @@
     1.4  	sed "/^$(basename ${pkg%.tazpkg})$/d" -i packages.list
     1.5  	sed "/ $(basename $pkg)$/d" -i packages.md5
     1.6  	[ "$pkg_repository" != "$PACKAGES_REPOSITORY" ] && return 0	
     1.7 -	for i in wok-wanted.txt wok-depends.txt; do
     1.8 +	for i in wanted.txt depends.txt; do
     1.9  		[ -f $i ] || continue
    1.10  		sed "/^$PACKAGE\t/d" -i $i
    1.11  	done
    1.12 @@ -1418,8 +1418,8 @@
    1.13  	unset package_md5
    1.14  
    1.15  	if [ "$pkg_repository" = "$PACKAGES_REPOSITORY" ]; then
    1.16 -		[ "$WANTED" ] && echo -e "$PACKAGE\t$WANTED" >> wok-wanted.txt
    1.17 -		echo -e "$PACKAGE\t "$DEPENDS" \t "$BUILD_DEPENDS" " >> wok-package.txt
    1.18 +		[ "$WANTED" ] && echo -e "$PACKAGE\t$WANTED" >> wanted.txt
    1.19 +		echo -e "$PACKAGE\t "$DEPENDS" \t "$BUILD_DEPENDS" " >> package.txt
    1.20  	fi
    1.21  }
    1.22  
    1.23 @@ -1443,7 +1443,7 @@
    1.24  		report step "Sorting packages lists"
    1.25  		files_list="packages.list packages.desc packages.equiv"
    1.26  		[ "$pkg_repository" = "$PACKAGES_REPOSITORY" ] && \
    1.27 -			files_list="$files_list wok-wanted.txt wok-depends.txt"
    1.28 +			files_list="$files_list wanted.txt depends.txt"
    1.29  		for file in $files_list; do
    1.30  			[ -f $file ] || continue
    1.31  			sort -o $file $file