tazwok rev 428
tazwok: packages may have no files but symlinks
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 07 08:52:51 2011 +0100 (2011-03-07) |
parents | 6d514a2cd9ef |
children | ff2492afbf1a |
files | tazwok |
line diff
1.1 --- a/tazwok Mon Mar 07 07:14:45 2011 +0000 1.2 +++ b/tazwok Mon Mar 07 08:52:51 2011 +0100 1.3 @@ -887,7 +887,7 @@ 1.4 check_fsh() 1.5 { 1.6 cd $WOK/$PACKAGE/taz/*/fs 1.7 - if [ -z "$(find * -type f)" ] && [ "$CATEGORY" != meta ]; then 1.8 + if [ -z "$(find * ! -type d)" ] && [ "$CATEGORY" != meta ]; then 1.9 echo "$PACKAGE fs is empty." >&2 1.10 cd $WOK/$PACKAGE && rm -rf taz 1.11 return 1