tazwok rev 90
tazwok cmp: fix Old package for computed VERSION
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 31 09:22:46 2008 +0000 (2008-08-31) |
parents | 9fe330525700 |
children | a1ce8666445b |
files | tazwok |
line diff
1.1 --- a/tazwok Sun Aug 31 08:48:54 2008 +0000 1.2 +++ b/tazwok Sun Aug 31 09:22:46 2008 +0000 1.3 @@ -681,8 +681,9 @@ 1.4 done 1.5 for pkg in `cd $PACKAGES_REPOSITORY && ls *.tazpkg` 1.6 do 1.7 - # grep $pkg in /tmp/wok.list, may include EXTRAVERSION 1.8 - for i in $(grep ^${pkg%_*} /tmp/wok.list); do 1.9 + # grep $pkg in /tmp/wok.list 1.10 + # may include EXTRAVERSION or computed VERSION 1.11 + for i in $(grep ^${pkg%-*} /tmp/wok.list); do 1.12 case "$pkg" in 1.13 ${i%.tazpkg}*.tazpkg) continue 2;; 1.14 esac