# HG changeset patch # User Pascal Bellard # Date 1299484371 -3600 # Node ID fe83eba401db210bf4c04702bd11cd766978637b # Parent 6d514a2cd9eff8e1a1bcd51b69a14f1bf1e3c66e tazwok: packages may have no files but symlinks diff -r 6d514a2cd9ef -r fe83eba401db tazwok --- a/tazwok Mon Mar 07 07:14:45 2011 +0000 +++ b/tazwok Mon Mar 07 08:52:51 2011 +0100 @@ -887,7 +887,7 @@ check_fsh() { cd $WOK/$PACKAGE/taz/*/fs - if [ -z "$(find * -type f)" ] && [ "$CATEGORY" != meta ]; then + if [ -z "$(find * ! -type d)" ] && [ "$CATEGORY" != meta ]; then echo "$PACKAGE fs is empty." >&2 cd $WOK/$PACKAGE && rm -rf taz return 1