tazwok rev 475
tazwok: fix an error which cause cookorder to be regenerated even if unneeded
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Apr 04 03:02:01 2011 +0200 (2011-04-04) |
parents | 67b0add039e2 |
children | 789cd6566f3a 5092d2083471 |
files | tazwok |
line diff
1.1 --- a/tazwok Mon Apr 04 02:55:10 2011 +0200 1.2 +++ b/tazwok Mon Apr 04 03:02:01 2011 +0200 1.3 @@ -1781,9 +1781,9 @@ 1.4 cat $tmp/dep | sort -u 1.5 fi 1.6 rm -f $tmp/dep $tmp/list 1.7 + sort -o $dep_db $dep_db 1.8 + sort -o $wan_db $wan_db 1.9 if [ "$db_md5" != "$(md5sum $dep_db $wan_db)" ]; then 1.10 - sort -o $dep_db $dep_db 1.11 - sort -o $wan_db $wan_db 1.12 grep -q "^#" $PACKAGES_REPOSITORY/cookorder.txt || 1.13 sed 1i"#PlanSort" -i $PACKAGES_REPOSITORY/cookorder.txt 1.14 fi 1.15 @@ -2672,9 +2672,9 @@ 1.16 db_md5=$(md5sum $dep_db $wan_db) 1.17 update_wan_db 1.18 check_for_commit 1.19 + sort -o $dep_db $dep_db 1.20 + sort -o $wan_db $wan_db 1.21 if [ "$db_md5" != "$(md5sum $dep_db $wan_db)" ]; then 1.22 - sort -o $dep_db $dep_db 1.23 - sort -o $wan_db $wan_db 1.24 grep -q "^#" $PACKAGES_REPOSITORY/cookorder.txt || 1.25 sed 1i"#PlanSort" -i $PACKAGES_REPOSITORY/cookorder.txt 1.26 fi