tazwok rev 389
tazwok: fix check_fsh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 07:53:47 2011 +0100 (2011-03-03) |
parents | 5231d96b2b35 |
children | 05d0626e9f88 |
files | tazwok |
line diff
1.1 --- a/tazwok Thu Mar 03 00:40:38 2011 +0100 1.2 +++ b/tazwok Thu Mar 03 07:53:47 2011 +0100 1.3 @@ -873,7 +873,7 @@ 1.4 check_fsh() 1.5 { 1.6 cd $WOK/$PACKAGE/taz/*/fs 1.7 - if ! [ "$(find * -type f)" ] && [ "$CATEGORY" != meta ]; then 1.8 + if [ -z "$(find * -type f)" ] && [ "$CATEGORY" != meta ]; then 1.9 echo "$PACKAGE fs is empty." >&2 1.10 cd $WOK/$PACKAGE && rm -rf taz 1.11 return 1