libraries/perl-dbd-sqlite: remove empty dirs better.

This commit is contained in:
Thomas Morper 2010-05-15 21:26:15 -05:00 committed by Robby Workman
parent 37d49bcd70
commit 9f23689634

View file

@ -73,7 +73,9 @@ rm -rf $PKG/usr/share
)
# Remove empty leftovers
rm -rf $PKG/usr/lib$LIBDIRSUFFIX/perl5/5.10.0
find $PKG \( -name perllocal.pod -o -name .packlist -o \
-name '*.bs' -empty \) -delete
find $PKG -depth -type d -empty -delete
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \