tazpkg rev 197
Fix build support for undigest upgrade
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 07 19:08:26 2008 +0000 (2008-11-07) |
parents | 03d2c26e7006 |
children | d0c602f5f62c |
files | tazpkg |
line diff
1.1 --- a/tazpkg Fri Nov 07 09:04:41 2008 +0000 1.2 +++ b/tazpkg Fri Nov 07 19:08:26 2008 +0000 1.3 @@ -1575,7 +1575,7 @@ 1.4 RELEASE="" 1.5 if [ -f installed.md5 -a -f packages.md5 ]; then 1.6 current_md5=$(grep -s " $PACKAGE-$VERSION" installed.md5 | awk '{ print $1 }') 1.7 - new_md5=$(grep -s " $PACKAGE-$VERSION" packages.md5 | awk '{ print $1 }') 1.8 + new_md5=$(grep -hs " $PACKAGE-$VERSION" packages.md5 undigest/*/packages.md5 | head -1 | awk '{ print $1 }') 1.9 [ -n "$current_md5" ] && [ -n "$new_md5" ] && 1.10 [ "$current_md5" != "$new_md5" ] && RELEASE=build 1.11 fi